jds Posted September 9, 2021 Share Posted September 9, 2021 Hi all, new to whmcs so hoping I can find a resolution for the below error which comes up when my client is viewing their invoice or when trying to pay the invoice. Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. Whoops\Exception\ErrorException: Cannot redeclare getadminpermsarray() in :0 Stack trace: #0 /home/myusername/mywebsite.co.uk/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Cannot redeclar...', '', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} 0 Quote Link to comment Share on other sites More sharing options...
jds Posted September 9, 2021 Author Share Posted September 9, 2021 Just to add, the same error comes up when me as an admin tries to view their invoice too 0 Quote Link to comment Share on other sites More sharing options...
Shozib Hussain Posted October 2, 2021 Share Posted October 2, 2021 Same Error Please Help When Clients Want To Pay 2nd Month Invoice Error: Whoops\Exception\ErrorException: Cannot redeclare getadminpermsarray() in :0 Stack trace: #0 /home/user/public_html/mydomain/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Cannot redeclar...', '', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} 0 Quote Link to comment Share on other sites More sharing options...
jds Posted October 6, 2021 Author Share Posted October 6, 2021 was able to resolve this issue by uploading a fresh copy of the stock WHMCS /modules directory. 0 Quote Link to comment Share on other sites More sharing options...
Edward Thabekhulu Posted March 27, 2022 Share Posted March 27, 2022 Try temporarily removing recently installed modules in the WHMCS/modules directory. One of them is causing the error. 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.