The issue seems to be with the cache configuration, as the system is unable to initialize the Filesystem cache adapter.
Steps Taken:
-
I have verified that the laminas/laminas-cache package is installed via Composer.
-
I have checked the cache configuration and confirmed that the cache_dir option is correctly set to a writable directory.
-
Permissions for the cache directory have been set correctly.
-
The relevant module is correctly registered in the module configuration file.
-
I have cleared the cache and tried reloading the autoload files with no success.
Could you please assist me in troubleshooting this issue or provide guidance on what might be causing the error?
Thank you for your assistance.
Fatal error : Uncaught Laminas\ModuleManager\Exception\RuntimeException: Module (Laminas\Cache\Storage\Adapter\FileSystem) could not be initialized. in /usr/share/nginx/html/vendor/laminas/laminas-modulemanager/src/ModuleManager.php:180 Stack trace: #0 /usr/share/nginx/html/vendor/laminas/laminas-modulemanager/src/ModuleManager.php(154): Laminas\ModuleManager\ModuleManager->loadModuleByName() #1 /usr/share/nginx/html/vendor/laminas/laminas-modulemanager/src/ModuleManager.php(76): Laminas\ModuleManager\ModuleManager->loadModule() #2 /usr/share/nginx/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(318): Laminas\ModuleManager\ModuleManager->onLoadModules() #3 /usr/share/nginx/html/vendor/laminas/laminas-eventmanager/src/EventManager.php(168): Laminas\EventManager\EventManager->triggerListeners() #4 /usr/share/nginx/html/vendor/laminas/laminas-modulemanager/src/ModuleManager.php(99): Laminas\EventManager\EventManager->triggerEvent() #5 /usr/share/nginx/html/vendor/laminas/laminas-mvc/src/Application.php(251): Laminas\ModuleManager\ModuleManager->loadModules() #6 /usr/share/nginx/html/config/container.php(18): Laminas\Mvc\Application::init() #7 /usr/share/nginx/html/public/index.php(39): require(‘…’) #8 {main} thrown in /usr/share/nginx/html/vendor/laminas/laminas-modulemanager/src/ModuleManager.php on line 180