Mautic PHP Configuration Error Message

Hi, everyone,

** Apache 2.4
My Mautic version is: 45_mautic-449
My PHP version is: PHP 8.0
My Database type and version is: MySQL 8.0

Mautic PHP Configuration Error Message shows an HTTP 500 error:

These errors are showing in the Bash Trace log :

[27-Jun-2023 18:51:14 UTC] PHP Fatal error: Uncaught Error: Class “Mautic\CoreBundle\ErrorHandler\ErrorHandler” not found in /home/admin6/public_html/mautic/index.php:22

See the captured screenshot image:


Stack trace log:
#0 {main}
thrown in /home/admin6/public_html/mautic/index.php on line 22

We have a Mautic configuration error message: index.php on line 22

The URL link is here,

gist link to the index.php file, Mautic Index Page PHP · GitHub

Resolution :
Remove the error code to load the Mautic dashboard

Steps I have tried to fix the problem :

Reinstall Mautic package


Our developers traced the Mautic error message to a failed ‘friendsofsymfony/oauth-server-bundle’ plugin. The Error message reads as follows:

Command ‘composer update friendsofsymfony/oauth-server-bundle’ failed with return code o and the following error message:

Loading composer repositories with package information
Info from #StandWithUkraine
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package symfony/class-loader is abandoned, you should avoid using it. No replacement was suggested.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package symfony/security is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
36 packages you are using are looking for funding.
Use the composer fund command to find out more!
Found 1 security vulnerability advisory affecting 1 package.
Run composer audit for a full list of advisories.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.