You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating to PHP 8.1.28 or higher, deprecation notices regarding Dynamic Properties are displayed:
PHP Deprecated: Creation of dynamic property Storefront_Product_Sharing::$plugin_url is deprecated in /srv/htdocs/wp-content/plugins/storefront-product-sharing/storefront-product-sharing.php on line 85
PHP Deprecated: Creation of dynamic property Storefront_Product_Sharing::$plugin_path is deprecated in /srv/htdocs/wp-content/plugins/storefront-product-sharing/storefront-product-sharing.php on line 86
Isolating the problem (mark completed items with an [x]):
I have deactivated other plugins and themes and confirmed this bug occurs when only WooCommerce + Storefront theme are active.
I can reproduce this bug consistently using the steps below.
Describe the bug
When updating to PHP 8.1.28 or higher, deprecation notices regarding Dynamic Properties are displayed:
Isolating the problem (mark completed items with an [x]):
To Reproduce
Expected behavior
The plugin should be activated without any warnings.
Environment
WordPress 6.5.4
WooCommerce 8.9.3
PHP 8.2 (though it happens at 8.1.28 or higher)
Initially reported in 8254237-zen
The text was updated successfully, but these errors were encountered: