WP_Scripts::add warning
-
Hello! In debug.log too many warnings
[06-Apr-2026 07:18:29 UTC] PHP Notice: Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with handle "thwcfd-checkout-script" was enqueued with unregistered dependencies: selectWoo. Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">«Debugging in WordPress»</a> for more information. (This message was added in version 6.9.1.) in /data/www/kapusta-fashion.ru/wp-includes/functions.php on line 6131- I understand this is not a critical bug — it’s just a PHP notice and doesn’t break any functionality
- However, I like to keep my
debug.logclean and follow WordPress coding standards selectWooappears to be a legacy/deprecated script (it was replaced bywc-selectin modern WooCommerce)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.