Skip to content

Symfony Fatal Error ErrorHandler.php #39804

@qublibjohnny

Description

@qublibjohnny

Steps to reproduce the issue

I accessed my website today and the following error was displayed on a white screen.

Fatal error: Uncaught Error: Class "Symfony\Component\ErrorHandler\ThrowableUtils" not found in /home/customer/www/mydomain.com/public_html/libraries/vendor/symfony/error-handler/ErrorHandler.php:563 Stack trace: #0 [internal function]: Symfony\Component\ErrorHandler\ErrorHandler->handleException(Object(Error)) #1 {main} thrown in /home/customer/www/mydomain.com/public_html/libraries/vendor/symfony/error-handler/ErrorHandler.php on line 563

Expected result

No changes have been made to my site, and I haven't updated anything. It appears to be intermittent, I've checked and it's now online again, but I've made no changes. Not sure why it's not working one minute, then suddenyl everything appears ok without any changes made.

I am able to login to the Joomla admin area ok.

When I check the administrator/logs/everything.php the most recent entry is below. I'm not sure if this is relevant?

2023-02-06T12:28:53+00:00 CRITICAL 207.46.13.160 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(736): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true) #1 [ROOT]/libraries/src/Application/SiteApplication.php(224): Joomla\CMS\Application\SiteApplication->route() #2 [ROOT]/libraries/src/Application/CMSApplication.php(294): Joomla\CMS\Application\SiteApplication->doExecute() #3 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #4 [ROOT]/index.php(32): require_once('/home/customer/...') #5 {main}

System information (as much as possible)

Joomla 4.2.5 and PHP 8.0.27

Additional comments

My webhost (siteground) have confirmed everything looks ok at their end, and suggested a restore from backup.

I'm reluctant to upgrade anything until I understand what's going on.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions