- This topic has 1 reply, 2 voices, and was last updated 11 years, 2 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Mikmag WordPress theme › mikmag/woocommerce issue in content-product.php on line 37 & 39
Tagged: content-product, division by zero warning, MikMag, woocommerce
Any idea what could be wrong? I’m using your latest version, no external plugins, cleared cache and tested with several versions of woocommerce and wp. Even have the same issue on a clean wp install. Thanks in advance and vriendelijke groeten,
Warning
: Division by zero in
/wp-content/themes/mikmag/woocommerce/content-product.php
on line 37
Warning
: Division by zero in
/wp-content/themes/mikmag/woocommerce/content-product.php
on line 39
Hi Fire Note
I’ve seen this issue earlier and went to speak to one of our developers to see how we could resolve this. It then appeared to be something with the woocommerce settings. Please allow me to copy from an earlier post.
____________
I have just had a little chat with our developer about your other topic you’ve posted and also brought up this one.
The issues are most likely caused by your woocommerce settings and options not being properly set
“the warning ” Warning: Division by zero in /home/content/25/11656025/html/wp-content/themes/mikmag/woocommerce/content-product.php on line 39″
will always appear if they will not go set the woocommerce settings and options”
Then the other error
“Warning: Division by zero in /home/content/25/11656025/html/wp-content/themes/mikmag/woocommerce/content-product.php on line 37
– usually caused by the “Column and Product Count” “
You can set the column and product counts in the woocommerce settings (woocommerce -> settings -> pages and then scroll to the bottom)
With kind regards,
Kevin