Get The Most Affordable Hosting in the World!

Starting at just $1.87/month, Vercaa offers unbeatable pricing for world-class web hosting services.

Fast, reliable, and secure hosting to power your website without breaking the bank. Plus, enjoy a free CDN for faster loading times worldwide!

Get Started Now!

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? 1 Users Found This Useful (1 Votes)