I moved my application to Laminas 3 with Php8.1 and now my translation files are not cached anymore.
Also, I get this error message
Fatal error: Uncaught Laminas\ServiceManager\Exception\ServiceNotFoundException: Unable to resolve service “Laminas\Cache\Storage\Adapter\RedisCache” to a factory; are you certain you provided it during configuration? in C:\wamp\www\ecole\vendor\laminas\laminas-servicemanager\src\ServiceManager.php on line 586
Where RedisCache is my Factory intializing my redis server.
Have you installed the related cache adapter? See:
And check if the required factories are installed:
Version 3 of laminas-cache removed support for factories required by this component, so if your application requires laminas-cache version 3 or later, you will also need to install laminas-cache-storage-deprecated-factory
The message in your provided picture suggests that you need to use caret(^) or tilda in your provided configuration of laminas-storage-adapter-redis instead of a constant or you can delete the composer.lock file and run composer install again. I’ve never installed Redis on a server myself. My suggestion is purely based on the message I read. Thanks!