Menu::add_plugin_item is deprecated warning
-
Hello,
I’m using this plugin (version 4.4) for a customer and we keep getting this warning in the log files:
Automattic\WooCommerce\Admin\Features\Navigation\Menu::add_plugin_item is deprecated since 9.3 with no alternative. Navigation classes will be removed in WooCommerce 9.4
I searched for the
Menu:add_plugin_item
method in the plugins and I found it in themailchimp-for-woocommerce/admin/class-mailchimp-woocommerce-admin.php:225
file (on line 259 too). I commented on it and the log was gone.Please take a look and come with a fix.
Versions:
PHP: 8.3.11
WordPress: 6.6.2
WooCommerce: 9.3.2Thank you,
Vlad
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.