muskie9

so the resource directory changed a bit in 4.4

Hels

now I have a bigger problem…. I did my.url/dev/build after the composer update & got this message: [Emergency] Uncaught SilverStripe\Core\Injector\InjectorNotFoundException: ReflectionException: Class Psr\SimpleCache\CacheInterface.ThemeResourceLoader does not exist any ideas? (I never actually got as far as adding any custom code or modules to the site, it just got installed as 4.2.4 then I changed my mind and wanted 4.4.1)

muskie9

if you plan on writing unit tests for you app/site then you'll need whatever is pulled in through composer update though

Hels

since I don’t know what a unit test is then I think I can just ignore it & live in blissful ignorance!! 🤣

Hels

thanks - something to learn later I think. right now I am just doing a couple of fairly simple websites. but ill keep it in the back of my mind in case I need to do something more ambitious later on

muskie9

for sure, we didn't really do testing until a few years ago... it's more time consuming, but can help catch bugs before the client does 😉

muskie9

@Hels that's for unit tests... if you composer install --no-dev you likely won't get that message

Hels

I have done composer upgrade to go from 4.2.4 to 4.4.1 and got this message: “Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.” I didn’t install any modules in this project so it must have ome from the main silverstripe program. Does anyone know what it is for? & do I need to find a replacement?

LiamC

@Mo I have used something to your suggestion before

LiamC

I never receive the email it states its sent

LiamC

Also does anyone know why the out the box forgot password doesnt work unless there is some config I need to do for it?