My dashboard no display

Your software
My Mautic version is: 4.4.5
My PHP version is:8.1
My Database type and version is:8.0

Your problem
My problem is: My dashboard no display

These errors are showing in the log:mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given” at /var/www/html/automation.qtatech.com/docroot/app/bundles/CoreBundle/EventListener/DashboardSubscriber.php line 101 {“exception”:“[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given at /var/www/html/automation.qtatech.com/docroot/app/bundles/CoreBundle/EventListener/DashboardSubscriber.php:101)”} {“hostname”:“localhost”,“pid”:599241}

Steps I have tried to fix the problem: clear cache with php bin/console

4.4.+ will not work on php version 8.1 if I recalled.

Try switching your php version to 8.0 or lower.

1 Like