why it occurs?? #527
-
[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 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 24 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Please, provide more context on: where it happens (env) and how and to reproduce. |
Beta Was this translation helpful? Give feedback.
-
url input localhost, error.log this fatal error appears, installFO.sh has been executed. ServiceListener.php is at
$this->defaultServiceManager- = null? |
Beta Was this translation helpful? Give feedback.
The result
php -v
command shows already a lot of installation problems.For example without pdo_msql the app can't work, but we are not advising on the system installations.
ServiceListener is the external Laminas (PHP framework used in Monarc) dependency and there is a problem of the project installation, but nothing to do the the application itself.