Jump to content

Client Area "Domains" Exception

Recommended Posts

A client of ours is having an issue managing his domain on the client page: https://<domainofcompany>/hosting/clientarea.php?action=domains 

He get's one of the pages that gives you the oops error: 

Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.

I've enabled the display errors and when I load the page, it gives the following stack trace:

exception 'Whoops\Exception\ErrorException' with message 'Call to a member function diffInDays() on null' in /var/www/html/hosting/vendor/whmcs/whmcs-foundation/lib/View/Client/Menu/PrimarySidebarFactory.php:0
Stack trace:
#0 /var/www/html/hosting/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Call to a membe...', '/var/www/html/h...', 0)
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}

This only happens to a couple of clients. A vast majority can load the Domains page from the Client Area and see their domain information.

WHMCS Version: 7.7.0

PHP Version: 5.6.39

Share this post

Link to post
Share on other sites

have you created any custom sidebars yourself using hooks ?

are you using a commercial custom template, a variation of "Six" or a clean unaltered version of "Six" ??

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines