hkhost Posted May 26, 2020 Share Posted May 26, 2020 Hello We are having problems when trying to see an old invoice. Errors: Error: Call to a member function isRecurring() on null in vendor/whmcs/whmcs-foundation/lib/Billing/Invoice.php:0 Stack trace: #0 /whmcs-foundation/lib/Invoice.php(0): WHMCS\Billing\Invoice->cart() #1 /whmcs/includes/gatewayfunctions.php(0): WHMCS\Invoice->getGatewayInvoiceParams() #2 whmcs/admin/invoices.php(0): getGatewayVariables('paypal', 22960) #3 {main} This was not happening with previous WHMCS versions. Any idea how to solve this issue? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
steph.hope Posted May 26, 2020 Share Posted May 26, 2020 Looks like there's a fix for this issue here: 1 Quote Link to comment Share on other sites More sharing options...
hkhost Posted May 26, 2020 Author Share Posted May 26, 2020 2 hours ago, steph.hope said: Looks like there's a fix for this issue here: Great, thank you! 0 Quote Link to comment Share on other sites More sharing options...
d2.roth Posted May 28, 2020 Share Posted May 28, 2020 I am running 7.10.2 and still have this issue but with authorize: ERROR: Error: Call to a member function isRecurring() on null in vendor/whmcs/whmcs-foundation/lib/Billing/Invoice.php:0 Stack trace: #0 /home/billingfiresidea/public_html/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): WHMCS\Billing\Invoice->cart() #1 /home/billingfiresidea/public_html/includes/gatewayfunctions.php(0): WHMCS\Invoice->getGatewayInvoiceParams() #2 /home/billingfiresidea/public_html/admin/invoices.php(0): getGatewayVariables('authorize', 6678) #3 {main} 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted May 29, 2020 Share Posted May 29, 2020 I'd recommend uploading a fresh copy of your WHMCS Vendor Folder - re-applying the hotfix - and if this doesn't work submit a ticket for our team to take a look into this via whmcs.com/submit-ticket: 0 Quote Link to comment Share on other sites More sharing options...
Danny de Hek Posted July 14, 2020 Share Posted July 14, 2020 I'm having the same issue I have installed the plug-in and has fixed a few of the invoices but not all of them Believe it or not I opened 1300 old invoices only 2 of them have errors the 2 that have errors are active. Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. Error: Call to a member function getSensitiveDataAttributeName() on null in /home/signup/public_html/vendor/whmcs/whmcs-foundation/lib/Admin/Client/PayMethod/ViewHelper.php:0 Stack trace: #0 /home/signup/public_html/vendor/whmcs/whmcs-foundation/lib/Admin/Client/PayMethod/ViewHelper.php(0): WHMCS\Admin\Client\PayMethod\ViewHelper->clientProfileHtml(Object(WHMCS\User\Client), 'client-paymetho...') #1 /home/signup/public_html/vendor/whmcs/whmcs-foundation/lib/Admin/Client/PayMethod/ViewHelper.php(0): WHMCS\Admin\Client\PayMethod\ViewHelper->clientProfileSummaryHtmlTableRows(Object(WHMCS\User\Client)) #2 /home/signup/public_html/admin/clientssummary.php(0): WHMCS\Admin\Client\PayMethod\ViewHelper->clientProfileSummaryHtml(Object(WHMCS\User\Client)) #3 {main} 0 Quote Link to comment Share on other sites More sharing options...
Danny de Hek Posted July 14, 2020 Share Posted July 14, 2020 So what could I do about this? 0 Quote Link to comment Share on other sites More sharing options...
Danny de Hek Posted July 14, 2020 Share Posted July 14, 2020 The fix has not fixes the problem totally for me, what should I do now? I still have two invoices I can not open 0 Quote Link to comment Share on other sites More sharing options...
wsa Posted July 15, 2020 Share Posted July 15, 2020 Hi Maybe you should open a ticket to whmcs.com 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 2, 2021 WHMCS Support Manager Share Posted February 2, 2021 Hi all, This has been observed when a previous after-market payment gateway has been deleted without first being deactivated via the Manage Existing Gateways page. As a result the affect clients have records related to the module, but when the system tries to load that module it is not found. Re-uploading the gateway module files and then deactivating it will resolve this: https://docs.whmcs.com/Payment_Gateways#Deactivating_Gateway_Modules 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.