Message of the day:
SS 4.4.0 and 4.4.1 are out. Changelog: https://github.com/silverstripe/silverstripe-framework/blob/4/docs/en/04_Changelogs/4.4.0.md
SilverStripe 4 related information and questions.
so the resource directory changed a bit in 4.4
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)
if you plan on writing unit tests for you app/site then you'll need whatever is pulled in through
composer update though
since I don’t know what a unit test is then I think I can just ignore it & live in blissful ignorance!! 🤣
php classes to test other classes and their functionality: https://github.com/dynamic/silverstripe-flexslider/tree/4.0/tests
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
@Hels that's for unit tests... if you
composer install --no-dev you likely won't get that message
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?
@Mo I have used something to your suggestion before
I never receive the email it states its sent
Also does anyone know why the out the box forgot password doesnt work unless there is some config I need to do for it?