Function WP_Scripts::add was called incorrectly
-
Have many notice in debug.log from your plugin. Can you fix it in upcoming updates?
[03-Apr-2026 14:44:34 UTC] PHP Notice: Function WP_Scripts::add was called <strong>incorrectly</strong>. The script with handle "hcaptcha-nf" was enqueued with unregistered dependencies: hcaptcha, nf-front-end, nf-front-end-deps. Additional information can be found on the <a href="https://developer.ww.wp.xz.cn/advanced-administration/debug/debug-wordpress/">«Debugging in WordPress»</a> page. (This message was added in version 6.9.1.) in /my_path/wp-includes/functions.php on line 6131I understand this is not a critical error — the plugin works fine — but I like to keep my
debug.logclean so I can spot real issues quickly. This notice clutters the log and makes proactive debugging harder.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.