Jump to content

Recommended Posts

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!

Share this post


Link to post
Share on other sites
2 hours ago, steph.hope said:

Looks like there's a fix for this issue here:

 

Great, thank you!

Share this post


Link to post
Share on other sites

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}

 

Share this post


Link to post
Share on other sites

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:

 

 

Share this post


Link to post
Share on other sites

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}

 

 

Share this post


Link to post
Share on other sites

The fix has not fixes the problem totally for me, what should I do now? I still have two invoices I can not open

Share this post


Link to post
Share on other sites

Hi

Maybe you should open a ticket to whmcs.com

Share this post


Link to post
Share on other sites
2 hours ago, Danny de Hek said:

The fix has not fixes the problem totally for me, what should I do now? I still have two invoices I can not open

Could you please open a ticket with us @Danny de Hek 

If you purchase a license from us directly do this via www.whmcs.com/support

If you purchase a license from your host do this via www.whmcs.com/reseller-support

 

Share this post


Link to post
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.


  • Similar Content

    • By WHMCS John
      An issue has been identified in the 7.10.2 release - published on 19th May 2020, that can result in an Oops fatal PHP error in certain circumstances when interacting with invoices:
      exception 'Whoops\Exception\ErrorException' with message 'Call to a member function isRecurring() on null' in /path/to/whmcs/vendor/whmcs/whmcs-foundation/lib/Billing/Invoice.php:0 This occurs when viewing, sending a reminder email or attempting capture on an invoice containing a line item related to a deleted service.
  • 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