Jump to content

Cannot access client area


Recommended Posts

When logging into client area, page shows:

 

Oops!
Something went wrong and we couldn't process your request.
Error:

Whoops\Exception\ErrorException: Method WHMCS\MarketConnect\Promotion\Promotion::__toString() must not throw an exception, caught Error: Call to undefined method WHMCS\MarketConnect\Promotion\PromotionContentWrapper::hasHighlights() in /home/<removed>/public_html/clients/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion.php:0
Stack trace:
#0 /home/<removed>/public_html/clients/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Method WHMCS\\Ma...', '/home/kdhosting...', 0)
#1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown()
#2 {main}

 

Not sure whats going on and how to fix as seems to be MarketConnect causing the issue.

Edited by WHMCS ChrisD
Added error into code box
Link to comment
Share on other sites

23 hours ago, kdhosting said:

Not sure whats going on and how to fix as seems to be MarketConnect causing the issue.

if it's MarketConnect, then one likely issue will be that you're using a custom theme... e.g you're offering SiteLock, so in the cart, the "Website Security" link should go to...

https://www.domain.com/clients/store/sitelock

which your custom template gives the user a (virtually) blank page to look at...

h5liNTQ.png

whereas, using the Six template, they would see...

FURaXvt.png

I would imagine that there are also multiple errors in your activity log showing that the MarketConnect pages are missing from your custom 'kdhosting' template.

so the solution should be to copy the "store" directory from /templates/six/ to /templates/kdhosting/

if i'm looking at the correct website, then you're using Standard_cart for the orderform, so once the store pages have been added, then the functionality of MarketConnect should work (depending upon your version of WHMCS).

on the clientarea homepage, there is MarketConnect functionality there too - so If you don't have the template files that are used for the output, then that would be a reason to see errors there too.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated