errors when upgrading to php 8.0
-
Hello!
There were some bugs in the free shipping rule, and I had switched to PHP 8.0.
and when changing the quantity of products, I received the explicit error on the screen like this:
Warning: A non-numeric value encountered in /home/driconf/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/shipping-progress-bar/class-main.php on line 347
Warning: A non-numeric value encountered in /home/driconf/public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/shipping-progress-bar/class-main.php on line 348
When changing to PHP 7.4 the error disappeared, returning to PHP 8.0 or 8.2 the error appears again, when I change the quantities of products in the cart.
Hello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builder
Thank you in advance