bear Posted August 24, 2018 Share Posted August 24, 2018 Due to the recent Cpanel removal of XML in server responses, my existing WHMCS isn't working right. Though I knew this was inevitable, various things (not the least of which is the hatred of the "moving target admin interface icon design") were keeping me from wanting to upgrade. I'm forced now. Visiting my dev installation, it's working good one second, and with me making *NO CHANGES*, on access just now it stopped working with this (once I enabled errors): Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. exception 'Whoops\Exception\ErrorException' with message 'Cannot use object of type WHMCS\Module\Widget\Badges as array' in /home/***/***/templates_c/0bbbe7787a0cbdc3e03e59ec88df35cfa8a92f9c_0.file.homepage.tpl.php:128 Stack trace: #0 /home/***/public_html/***/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Cannot use obje...', '/home/***/...', 128) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} How exciting, to know your installation will just fall totally over without even making changes. So. How to troubleshoot that, and hopefully prevent it happening again? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 24, 2018 Share Posted August 24, 2018 50 minutes ago, bear said: How exciting, to know your installation will just fall totally over without even making changes. So. How to troubleshoot that, and hopefully prevent it happening again? is there any chance you've got an out of date admin widget file in /modules/widgets ? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted August 24, 2018 Author Share Posted August 24, 2018 Seems you'd need to have purchased the module from WHMCS to get that fix, since it's normally encoded? As for widgets, no, but in looking at a new full download and the existing WHMCS dev directory, there's been files removed from the full download that still exist in the dev installation that's been using auto-update. Though I made no changes today to have it suddenly stop working, my guess is it's somehow related. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted August 24, 2018 Author Share Posted August 24, 2018 (edited) What are the odds the powers that be will now look. 😉 (oh look, stuff!) I've found the issue. Apparently the homepage.tpl had an issue that broke it. Fun bit is, I hadn't edited. Just fell over hard all on it's own. Compared to the download version and the only changes were within the widget tools. Go figure. Looks like I'll be swearing off auto updating once this goes live. Edited August 24, 2018 by bear 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 24, 2018 Share Posted August 24, 2018 4 minutes ago, bear said: What are the odds the powers that be will now look. you assume that the powers that be care to look... but replies have been *adjusted*... just in case. 😛 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.