Devision by Zero
-
I installed woocommerce and mystile. After adding products, I got “Warning: Division by zero in /home/ehubinc/public_html/wp-content/plugins/woocommerce/templates/content-product.php on line 33” and
“Warning: Division by zero in /home/ehubinc/public_html/wp-content/plugins/woocommerce/templates/content-product.php on line 35” on home page. I have tried to do any adjustment without luck. Please help. Thank you!33 if ( 0 == ( $woocommerce_loop[‘loop’] – 1 ) % $woocommerce_loop[‘columns’] || 1 == $woocommerce_loop[‘columns’] )
34 $classes[] = ‘first’;
35 if ( 0 == $woocommerce_loop[‘loop’] % $woocommerce_loop[‘columns’] )
36 $classes[] = ‘last’;
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Devision by Zero’ is closed to new replies.