PHP Warning/Error – “Division by Zero” Message
-
I’ve encountered a Division by Zero error on my website using the WoodMart theme. The error appears in the following file and function:
File: wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php
Function: woodmart_product_label()
Line: 1520
Here’s the specific warning captured by Query Monitor:
Division by zero
wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php:1520
Full location in Private content.
I appreciate your assistance
Hello,
Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
– WoodMart core
– WooCommerce
– Elementor/WPBakery Page Builder
Thank you in advance.
Hello there. I have done this.
Apologies for late reply. Issue still persists and our CPU usage is being affected due to this. Can you refer below.
Attachments:
You must be
logged in to view attached files.
Can you refer below in private content.
Hello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance