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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12602

    Aaron
    Participant

    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?

    #12605

    kevin(Staff)
    Key Master

    Hi Aaron,

    Could you please add what versions you are using for:

    Mikmag:

    Woocommerce:

    Wordpress:

     

    With kind regards,

    Kevin

    #12608

    Aaron
    Participant

    Latest on all of those.

    #12611

    kevin(Staff)
    Key Master

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Close
WANNA KNOW WHAT'S COOKING?
Stay tunend, we'll keep you posted!

Twitter

Facebook

Google+