- No products in the cart.
HOME › WordPress Support › Mikmag WordPress theme › Problem with 'products' page with Mikmag and Woocommerce
This topic contains 3 replies, has 2 voices, and was last updated by
kevin(Staff) 1 week, 1 day ago.
-
AuthorPosts
-
25/08/2013 at 7:28 PM #12602
I get this error when accessing the products page:
Warning: Division by zero in /home/content/25/11656025/html/wp-content/themes/mikmag/woocommerce/content-product.php on line 37
Warning: Division by zero in /home/content/25/11656025/html/wp-content/themes/mikmag/woocommerce/content-product.php on line 39
However if I change my theme to a different one, it works fine (no errors). So something with Mikmag and woocommerce is causing this error. Any suggestions?
26/08/2013 at 11:36 AM #12605Hi Aaron,
Could you please add what versions you are using for:
Mikmag:
Woocommerce:
Wordpress:
With kind regards,
Kevin
27/08/2013 at 5:04 AM #12608Latest on all of those.
27/08/2013 at 10:48 AM #12611Hi Aaron,
Since these are warning messages, not actual error messages, I’m taking the page is working properly despite of these warnings?
Basically, with warning messages they don’t really dispaly something that is not working but more warn you for things that are usually unwanted.
Now since these warnings shouldn’t cause any functional issues you can prevent them from showing by changing a word in your wp-config,
line 81 change
define(‘WP_DEBUG’, true);
into
define(‘WP_DEBUG’, false);
This way it will no longer show.
Since obviously one would ultimately want to not have any warning or error messages whatsoever, I’ll be passing those two on to our development team for them to take a look at with the new update. However since the functionality shouldn’t be affected by them, for the time being there shouldn’t be anything to worry about functionality-wise.
Kevin
-
AuthorPosts
You must be logged in to reply to this topic.


