Shopping cart error: Warning: Division by zero

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/[url removed, login to view] 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.

Compétences : AJAX, Programmation C, Programmation C#, Programmation C++, PHP

en voir plus : divide zero error wordpress theme, wordpress themes shopping cart, wordpress themes programming, shopping cart 6.0.14, programming error, php pg, paypal storefront, creator theme wordpress, prodslistquantity, message error, 1 shopping cart, wordpress shopping cart , wordpress error, tries, son, premium themes, pg, error, host theme, cart theme creator, cart code, error paypal shopping cart, paypal gateway wordpress, checkout cart php, division zero php

Concernant l'employeur :
( 0 commentaires ) Lawrenceville, United States

Nº du projet : #1060553

3 freelance font une offre moyenne de $37 pour ce travail


HI, i am expert in wordpress coding. I am ready to fixed this issue for you. Kindly accept the bid. Thanks

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(162 Commentaires)

I'm your man, let's do this quickly

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(9 Commentaires)

It is no problem to correct the problem, but you will face definitely more implication after correcting...

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)