garybarr Posted January 11, 2020 Share Posted January 11, 2020 I'm having a heck of a time tracking down what is happening when a customer tries to order CodeGuard for their website, it gets to the order page, lets then enter in the credit card info, but after clicking submit, it gives a ----------------- Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. ----------------- The only error I can find in the logs is in the activity log: Error: Error: Undefined class constant 'Active' in /home/public_html/editedout/includes/invoicefunctions.php:0 Stack trace: #0 /home/public_html/editedout/cart.php(0): getNewClientAutoProvisionStatus(10338) #1 {main} Anyone have more ideas where to look? 0 Quote Link to comment Share on other sites More sharing options...
garybarr Posted January 11, 2020 Author Share Posted January 11, 2020 Eeks, this seems to be a new happening for ALL orders since I did the upgrade today to the latest version. I had orders yesterday that were paid for, but since the update, I see this has happened to a couple orders. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 11, 2020 Share Posted January 11, 2020 Hi Gary, it seems that they've released a hotfix for this issue. Quote An issue has been identified in the 7.9.0 release - published on 8th January 2020, that can prevent products from being automatically set to "Active" after checkout in certain circumstances. An error message will be logged in the server PHP error logs or an Oops! error output on screen. The error details contain: exception 'Whoops\Exception\ErrorException' with message 'Undefined class constant 'Active'' in /home/v79whmcssupport/public_html/whmcs/includes/invoicefunctions.php:0 This occurs when when a customer has made payment on checkout and "Only Auto Provision for Existing" is checked in Setup > General Settings > Ordering. This hotfix applies only to 7.9.0 Workaround You can disable "Only Auto Provision for Existing" in Setup > General Settings > Ordering. Resolution We are releasing a hot-fix patch which resolves the undefined class constant. Applying the HotFix To apply the fix, download the zip file from the link above. Extract the contents and upload to your WHMCS directory overwriting the existing files. 6 hours ago, garybarr said: Eeks, this seems to be a new happening for ALL orders since I did the upgrade today to the latest version. it's often a good idea to leave it for a few days/weeks after a major release update to let all these bugs get ironed out first before upgrading. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.