Also seeing these messages on the bottom of pages on the frontend:
Deprecated: Function wp_enqueue_script was called with an argument that is deprecated since version 10.3.0! Please use the new handle wc-flexslider in place of the previous handle flexslider. in /home/wetsui5/cleanseparasites.com/wp-includes/functions.php on line 6121
Deprecated: Function wp_enqueue_script was called with an argument that is deprecated since version 10.3.0! Please use the new handle wc-photoswipe-ui-default in place of the previous handle photoswipe-ui-default. in /home/wetsui5/cleanseparasites.com/wp-includes/functions.php on line 6121
Deprecated: Function wp_enqueue_script was called with an argument that is deprecated since version 10.3.0! Please use the new handle wc-select2 in place of the previous handle select2. in /home/wetsui5/cleanseparasites.com/wp-includes/functions.php on line 6121
Deprecated: Function wp_enqueue_script was called with an argument that is deprecated since version 10.3.0! Please use the new handle wc-zoom in place of the previous handle zoom. in /home/wetsui5/cleanseparasites.com/wp-includes/functions.php on line 6121
Hi @cleanseparasites ,
WooCommerce 10.3.0+ deprecated old script handles. These are warnings, not errors,your site still works, but theme/plugins using old handle names need updating.
Until fix you may temporarily turn of debug display.
Hi @cleanseparasites,
I understand how concerning it is to see those deprecated notices appearing across your site after the recent update — it can be distracting even though the site continues to work fine.
Thanks, @shsajalchowdhury, for explaining that these notices are related to outdated script handles from WooCommerce 10.3.0 onward. The messages are warnings, not errors, and they’ll disappear once your theme or any active plugin updates their script references to the new handles.
In the meantime, you can safely disable the display of these warnings by turning off debug display in your wp-config.php file. Simply set WP_DEBUG_DISPLAY to false while leaving WP_DEBUG enabled for logging.
Our team is aware of these deprecation notices and they’ll be addressed in upcoming updates as themes and plugins adjust to the new handles. Thanks for your patience while we work on improving compatibility.
Hi @cleanseparasites,
I’m glad to hear our explanation helped and that things are clearer now. We appreciate you taking the time to follow up and share your feedback.
I noticed you haven’t left a review for WooCommerce yet — if it’s been helpful for your store and you’ve found our support useful, we’d truly appreciate it if you could take a moment to leave us a quick 5-star review here: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post
What about plugins that are using select2 to load the select2 library? I understand moving to wc-select2, but you have effectively held on to select2 by including the deprecation notice. Will it be removed eventually?
Hi @joelrsimpson,
Thanks for jumping in. I understand you’d like to clarify what will happen to plugins still using the old select2 handle. If you need support with this specific concern, please start your own topic so we can assist you directly. This helps us better track and respond to individual cases, as outlined in the forum guidelines: https://ww.wp.xz.cn/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too
We’ll be happy to take a closer look at your setup and help you from there!