Division by zero error on product pages - by craigmcdermott

This topic has 10 replies, 3 voices, and was last updated 10 years, 1 months ago ago by Eva Kemp

  • Avatar: craigmcdermott
    craigmcdermott
    Participant
    September 20, 2014 at 13:07

    Hi,

    I am getting the following error on my product pages after updating to wordpress 4.0 and the most recent version of blanco:

    Warning: Division by zero in /homepages/5/d424481821/htdocs/wp-content/themes/blanco/woocommerce/content-product.php on line 33

    an example page is below.

    http://www.countrywaygunshop.co.uk/c/clothing/

    Any help is greatly appreciated. Thanks.

    Craig

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    September 20, 2014 at 14:48

    Hello,

    Sorry, but I don’t see the error you specified on the site.
    Have you fixed it?

    Regards,
    Eva Kemp.

    Avatar: nearhoff
    nearhoff
    Participant
    October 11, 2014 at 14:00

    I am receiving a similar error on my product page.

    Warning: Division by zero in /home/nearhoff815/public_html/wp-content/themes/Blanco_Responsive_WordPress_Theme/blanco/woocommerce/content-product.php on line 43

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    October 11, 2014 at 14:32

    Hello,

    The path to your theme should be wp-content/themes/blanco, and not wp-content/themes/Blanco_Responsive_WordPress_Theme/blanco.
    Please correct this. What version of the theme are you using?
    It should be the latest one – 2.9.3. Please read our documentation:
    https://www.8theme.com/demo/docs/blanco/index.html#!/upgrade

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: nearhoff
    nearhoff
    Participant
    October 11, 2014 at 15:10

    Ok, I’ve fixed the path, but still receiving following error:

    Warning: Division by zero in /home/nearhoff815/public_html/wp-content/themes/blanco/woocommerce/content-product.php on line 43

    I am using the 2.9.3 theme according to css file.
    Again, any help would be appreciated.
    Thank you,
    Bill

    Please, contact administrator
    for this information.
    Avatar: nearhoff
    nearhoff
    Participant
    October 11, 2014 at 15:23

    Looks like it has been fixed. Thank you for your time, and have a great day.

    Bill

    Avatar: nearhoff
    nearhoff
    Participant
    October 11, 2014 at 15:29

    Actually, I just navigated to my “shop” page and it shows the error yet again. I’m sorry to bother you again, but could you please take a look at it?

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    October 11, 2014 at 20:11

    Hello,

    The problem is with the plugin WooCommerce Product Archive Customiser. I’ve deactivated it and the errors have disappeared.
    Please check now.

    Regards,
    Eva Kemp.

    Avatar: nearhoff
    nearhoff
    Participant
    October 11, 2014 at 20:43

    Thank you so much for your help, Eva. It looks like you took care of it. Is this going to be a recurring issue, or will the fix you applied take care of it permanently?

    Avatar: Eva
    Eva Kemp
    Support staff
    October 13, 2014 at 14:07

    Hello,

    Sorry, but we didn’t test our theme with that plugin. There may be some incompatibility between them.
    We recommend you to avoid using “WooCommerce Product Archive Customiser” plugin for now.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Division by zero error on product pages’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.