Jump to content

ERROR: upgradefunctions.php - DivisionByZeroError


Recommended Posts

Hi WHMCS Team,

We are running 8.9.0 version and in our logs we saw:

[WHMCS Application] ERROR: DivisionByZeroError: Division by zero in /home/whmcs/public_html/includes/upgradefunctions.php:0
Stack trace: #0 /home/whmcs/public_html/admin/clientsupgrade.php(0): SumUpPackageUpgradeOrder(117031, 7, 'monthly', '', 'stripe', false)
#1 {main} {"exception":"[object] (DivisionByZeroError(code: 0): Division by zero at /home/whmcs/public_html/includes/upgradefunctions.php:0)"} []

 

Edited by SubZeroFX
Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @SubZeroFX,

This is the first report of such an error. Please can you share:

  • The current Recurring Amount and billing cycle of Service ID 117031.
  • The price for that billing cycle of the current product assigned to Service ID 117031.
  • The monthly price of Product ID 7.

 

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