Deprecated message with PHP 8.2 when adding to cart
-
Thank you for the plugin. I have a deprecated message with PHP 8.2 (Worpdress WP_DEBUG = true) when adding product to the cart.
Deprecated: Creation of dynamic property WC_Product_Simple::$alg_open_price is deprecated in /wp-content/plugins/product-open-pricing-name-your-price-for-woocommerce/includes/class-alg-wc-product-open-pricing-core.php on line 672
Which produces
Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/product-open-pricing-name-your-price-for-woocommerce/includes/class-alg-wc-product-open-pricing-core.php:674) in C:/Users/b92/Documents/donnees/site_pp_bsaulme/site-f-orchidees-maj3/wp-includes/pluggable.php on line 1435
Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/product-open-pricing-name-your-price-for-woocommerce/includes/class-alg-wc-product-open-pricing-core.php:674) in C:/Users/b92/Documents/donnees/site_pp_bsaulme/site-f-orchidees-maj3/wp-includes/pluggable.php on line 1438I notice that if I comment line 672, there not more message & it’s still working for my usage… It will be nice to fixe it to avoid the message with PHP 8.2.
Thank.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Deprecated message with PHP 8.2 when adding to cart’ is closed to new replies.