Shopping cart error: Warning: Division by zero

AWARDED
Bids
3
Avg Bid (USD)
$37
Project Budget (USD)
$30 - $250

Project Description:
My son's website is a storefront that uses a premium wordpress theme I have purchased. Both my host and the theme creator say the problem is not theirs. I am receiving the error message below when anyone tries to checkout or view their shopping cart on my site.

Warning: Division by zero in /home/saucyspi/public_html/wp-content/themes/mk4/pg/paypal/gateway.php on line 154

That line of code says:

$prodslistamount = $prodslistamount/$prodslistquantity;

Not really sure why it's trying to divide here. Need some help squaring this away so his customers can order.

Skills required:
AJAX, Programación en C, Programación en C#, Programación en C++, PHP
Hire saucyspirits
Project posted by:
saucyspirits United States
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the project creator or as one of the bidders to view bids.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.