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
With PHP 8.2 I get the following deprecation warning:
[25-Jul-2023 10:11:59 UTC] PHP Deprecated: Creation of dynamic property Automattic\WooCommerce\Admin\Features\OnboardingTasks\DeprecatedExtendedTask::$title is deprecated in wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/DeprecatedExtendedTask.php on line 66
However it makes me wonder why we are triggering the DeprecatedExtendedTask class to be used. I initially thought it could be related to the Onboarding Wizard which was introduced in WooCommerce 7.9: p6q7sZ-e5D-p2
It seems the DeprecatedExtendedTask has been around longer than that.
`woocommerce_admin_onboarding_task_list` is deprecated.
Fixes#2024
Remove `remove_woocommerce_extended_task_list_item` hook.
Mock the use of `$this->merchant_center->is_setup_complete()`.
Describe the bug:
With PHP 8.2 I get the following deprecation warning:
It seems the creation of the dynamic property is already being resolved in PR woocommerce/woocommerce#38774
However it makes me wonder why we are triggering the DeprecatedExtendedTask class to be used. I initially thought it could be related to the Onboarding Wizard which was introduced in WooCommerce 7.9: p6q7sZ-e5D-p2
It seems the DeprecatedExtendedTask has been around longer than that.
We add the onboarding task here: https://github.com/woocommerce/google-listings-and-ads/blob/2.5.0/js/src/tasks/complete-setup/index.js#L17
So my question is whether that filter is still valid or if we need to be using a different method not to trigger any deprecated classes?
Steps to reproduce:
The text was updated successfully, but these errors were encountered: