• I just restarted from scratch and barely finished installing dummy content.
    I don’t even have yoast installed yet. The only extra is hello dolly and loginizer and askimet.

    All i did is delete extra pages, tried demo sliders and cleaned the menus and appointed them to each a section (main, foot, top) to notiuce the menu is not responding right.

    This is the same division by zero error than before that i almost got in shit trying to get it fixed. So now I did it all over and at the verry beginning there is still this division by zero error.

    Warning: Division by zero in /home/punkmmur/TatouageCalypso.com/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 250

    Warning: Division by zero in /home/punkmmur/TatouageCalypso.com/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 252
    class=”post-6966 product type-product status-publish has-post-thumbnail product_cat-fashion product_tag-blocked-shirt product_tag
    It can’t be something i did, i just installed recommended plugins.
    have a look: Division By zero Error Woocommerce it’s one of YOUR products from YOUR dummy content.

    Now i was already told it was woocommerce the problem and checked on there side. Further examination woocommerce says that its mikmag caus it doesn’t appear on other themes. And mikmag says its woocomerce cause it’s their wc-templates.php file having the error.

    All I konw is i bought this theme and now both product description and main menu have an issue.

Viewing 1 replies (of 1 total)
  • The error may be in a WooCommerce file, but something else has set the column count to zero.

    There are some things you can do.

    – Note that there are no recent similar problems on this forum. If this was a general WooCommerce issue, the forum would be flooded given the number of WooCommerce installs out there.

    – Do you have any code in your child theme’s functions.php that might be affecting the column count. Better still, switch to the parent theme for testing to remove the child theme as a possible source of the problem.

    – If you go to:
    Dashboard > WooCommerce > System Status, look at the bottom section of this long page and you’ll see a section called template overrides. If there are some, this means we are looking at theme code, not WooCommerce code.

    – The test is:
    deactivate all plugins except WooCommerce. Do you see the error now?
    If so, the error is either in your theme or in WooCommerce. Now switch to the default theme, say Storefront. Try another theme as well if you want. Do you see the error now? If not, the error must be coming from your theme.

    The objective is to make your site software as simple as possible to try to identify which element is responsible. It sounds like you’ve almost done this already but you’ll need to deactivate all other plugins to be sure.

    If you find that your theme + WooCommerce is OK, put the other elements back one by one and test each time to identify which is causing the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Division by zero error with mikmag theme.’ is closed to new replies.