Help Center

Resolving Fatal Error: Class 'Laminas\ZendFrameworkBridge\Autoloader' Not Found

Fatal error class not found, Troubleshooting 'Laminas\ZendFrameworkBridge\Autoloader' error, Fixing missing class error 1
Print

Symptom

After switching to PHP 8.1, you may see a Class not found error when accessing the WHMCS index page or admin dashboard:

Fatal error: Uncaught Error: Class  "Laminas\ZendFrameworkBridge\Autoloader" not found in  /path/to/whmcs/vendor/laminas/laminas-zendframework-bridge/src/autoload.php:9
 

Cause

The OPCache PHP extension is enabled on your server and contains stale cache data.

Solution

Deactivate the OPCache extension from your website's PHP configuration.

You may need to contact your server admin/hosting provider for assistance in making this change. Instructions for some common control panels are below:

  • CloudLinux
  • cPanel
  • Plesk
  • DirectAdmin

 

The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.


Was this answer helpful?

Still need a hand?

Our support team is on standby if this article didn't fully answer your question.

« Back