monarc-project / MonarcAppFO

MONARC - Method for an Optimised aNAlysis of Risks by @NC3-LU
https://www.monarc.lu
GNU Affero General Public License v3.0
101 stars 38 forks source link

why it occurs?? #526

Closed Coderyang666666 closed 8 months ago

Coderyang666666 commented 8 months ago

[Fri Mar 15 18:27:01.621343 2024] [php:notice] [pid 1052] [client ::1:31335] PHP Fatal error: Uncaught Error: Call to a member function has() on null in /home/yanghang/vendor/laminas/laminas-modulemanager/src/Listener/ServiceListener.php:198\nStack trace:\n#0 /home/yanghang/vendor/laminas/laminas-eventmanager/src/EventManager.php(319): Laminas\ModuleManager\Listener\ServiceListener->onLoadModulesPost()\n#1 /home/yanghang/vendor/laminas/laminas-eventmanager/src/EventManager.php(169): Laminas\EventManager\EventManager->triggerListeners()\n#2 /home/yanghang/vendor/laminas/laminas-modulemanager/src/ModuleManager.php(109): Laminas\EventManager\EventManager->triggerEvent()\n#3 /home/yanghang/vendor/laminas/laminas-mvc/src/Application.php(261): Laminas\ModuleManager\ModuleManager->loadModules()\n#4 /home/yanghang/public/index.php(55): Laminas\Mvc\Application::init()\n#5 {main}\n thrown in /home/yanghang/vendor/laminas/laminas-modulemanager/src/Listener/ServiceListener.php on line 198

Coderyang666666 commented 8 months ago
            if (! $this->defaultServiceManager->has($sm['service_manager']))
ruslanbaidan commented 8 months ago

Please, provide more context on: where it happens (env) and how and to reproduce. In general this is the application dependencies issue, not related to the app itself and can be solved by a proper installation.