spectrahost Posted January 24, 2017 Share Posted January 24, 2017 Hello all, I recently updated my WHMCS from version 7.0.2 to version 7.1.1. Everything seems to have gone okay except for something I noticed in the customer portal. When logging in as customer and selecting "Services", and going to the Products page that lists the hosting packages for the account along with information like the renewal date and price I am getting the following error: Warning: Invalid argument supplied for foreach() in /home/cpaneluser/public_html/portal/vendor/whmcs/whmcs-foundation/lib/View/Formatter/Price.php on line 0 ("cpaneluser" substituting for the actual cPanel username) For reference, Line 0 of that particular file shows <?php //00ee8 Site is running PHP 5.6 Any help is greatly appreciated! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 24, 2017 Share Posted January 24, 2017 the usual solution to issues like this is to first re-upload the entire 'vendor' folder and see if that resolves the problem. 0 Quote Link to comment Share on other sites More sharing options...
spectrahost Posted January 25, 2017 Author Share Posted January 25, 2017 Gave this a shot, did not seem to work unfortunately. Still showing the exact same error. Thanks for the suggestion! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 25, 2017 Share Posted January 25, 2017 ok, obvious solution ruled out... next on the list is to see if there are any hooks or addons that aren't v7.1 compatible. 0 Quote Link to comment Share on other sites More sharing options...
spectrahost Posted January 27, 2017 Author Share Posted January 27, 2017 (edited) Disabled all addons with no luck. I thought maybe recreating the products in WHMCS might help but that has not helped either. Still seeing this: Edited January 27, 2017 by spectrahost 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 27, 2017 Share Posted January 27, 2017 is that just a tweaked "Six" template or a bought custom template ? if it were me, i'd be tempted to view the page with a clean version of "Six" just to rule out that it isn't a template issue. 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted January 27, 2017 Share Posted January 27, 2017 Yeah, if that's not six, try running through default (add ?systpl=six to your domain, so something like http://www.whmcs.com/?systpl=six) . See if that helps If you've modified the six theme, go with what Brian mentioned If this is something based off of 'five', then you'll have to switch to 'six'. Five is no longer supported 0 Quote Link to comment Share on other sites More sharing options...
spectrahost Posted January 29, 2017 Author Share Posted January 29, 2017 Good catch guys. Everything appears to be working normally when switching to "Six" I have been using the MaxHost WP/WHMCS theme. I suppose now I know where to start troubleshooting. Thanks so much! 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.