ExceptionLoggingTrait Errors


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


A core WHMCS file is missing.


To resolve this error:

  1. 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.
  2. Upload the .zip file to your server using your preferred method.
  3. 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: June 11, 2024