My Mautic version is: 4.4.4
My PHP version is: 7.4.32
My Database type and version is: MYSQL 5.7.39-42
My problem is: Hello There, im having a big issue on my Mautic. Somehow, without any changes or updates being made, the landing pages present the message: “500 Internal Server Error” to any user who is not logged in. When I’m logged into Mautic I have access to the same pages normally. Mautic forms loaded on external pages work perfectly and so do email pages. The problem is only on the landing pages for non logged users.
Thanks for the help.
These errors are showing in the log:
[2023-01-05 16:16:42] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Argument 1 passed to “Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()” must be an object, “NULL” given.” at /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php line 63 {“exception”:“[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Argument 1 passed to "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" must be an object, "NULL" given. at /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:63)”} {“hostname”:“5f75bf7b5497”,“pid”:16706}
Steps I have tried to fix the problem:
- Restart Apache Server
- Clean Server Cache
- Disable tracking code and plugins