Help Center

Fixing 'Undefined Constant' Error in Monthly Orders Report

Monthly Orders Report error, Resolving Undefined Constant issue, Troubleshooting report generation error 1
Print

Symptom

After updating to WHMCS 8.6.1, you may experience an Undefined Constant error when viewing the Monthly Orders report in PHP 8.1 environments:

Error: Undefined constant "tbladdons" in /path/to/whmcs/modules/reports/monthly_orders.php:81
 

Hotfix

Workaround

Upgrade your hosting environment to PHP 7.4.

 

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