Problem
You see the following error:
PHP Fatal error: Class 'xxxx' not found in /path/to/whmcs/vendor/whmcs/whmcs-foundation/lib/Exception/Handler/ExceptionLoggingTrait.php on line 0
Cause
A core WHMCS file is missing.
Solution
To resolve this error:
- Download the Full Release file for your version from our Members Area.If you purchase your license from a reseller, contact them for the files.
- Upload the
.zip
file to your server using your preferred method. - Extract the contents of the
.zip
file, overwriting the existing WHMCS files.
If this does not resolve the error, the files could also be inaccessible due to inappropriate file or folder permissions or user or group assignment. Ensure that file and folder permissions allow PHP to read all of WHMCS’s files.
For assistance, contact your hosting provider or system administrator.
If the error reoccurs soon after you resolve it, a server-side security measure is erroneously removing the file. Contact your hosting provider or system administrator to adjust the security rule.
Last modified: September 23, 2024