PHP 8 error, low bug
-
I’d like to report a bug with reloaded product pages on the site.
It doesn’t appear for normal pages, but for those that have been reloaded and not updated.I just wanted to let you know about the error, which appears to be a common PHP 8 incompatibility.
ERROR:Uncaught Error: json_decode(): Argument #1 ($json) must be of type string, array given
in product-variations-swatches-for-woocommerce/includes/frontend/frontend.php on line 146Call stack:
json_decode()
/product-variations-swatches-for-woocommerce/includes/frontend/frontend.php:146VI_WOO_PRODUCT_VARIATIONS_SWATCHES_Frontend_Frontend::variation_attribute_options_html()
wp-includes/class-wp-hook.php:341WP_Hook::apply_filters()
wp-includes/plugin.php:205apply_filters()
/woocommerce/includes/wc-template-functions.php:3595wc_dropdown_variation_attribute_options()
woocommerce/templates/single-product/add-to-cart/variable.php:41- ….
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.