• Resolved Oliver Campion

    (@domainsupport)


    Since WordPress v6.9.1 detection was added for when scripts are enqueued with dependencies that are not registered and your plugin generates the following error notice …

    [09-Feb-2026 19:12:13 UTC] E_USER_NOTICE: Function WP_Scripts::add was called incorrectly. The script with the handle "hcaptcha-cf7" was enqueued with dependencies that are not registered: hcaptcha. Please see Debugging in WordPress for more information. (This message was added in version 6.9.1.) in /wp-includes/functions.php on line 6131

    This can easily be replicated on a clean install of WordPress …

    1. Install Contact Form 7 plugin
    2. Install hCaptcha for WP
    3. In “Dashboard – hCaptcha – Integrations” enable “Contact Form 7 – Form Auto-Add” and click “Save Changes”
    4. Note that “Contact Form 7 – Live Form in Admin” is not required to be enabled to see this error
    5. Go to “Dashboard – Contact – Contact form 1 – Edit”
    6. The above error will be found in the PHP error log
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.