• Uncaught Error: ReCAPTCHA placeholder element must be empty.

    It seems that the google re-captcha script call is redundant, because this error occurs only when I add a [recaptcha] shortcode to a form of Contact Form 7 plugin.
    I added these lines to your function file, but it doesn’t work and only the recaptcha on Contact Form 7 form appears:

    if (wp_script_is( 'google-recaptcha', 'registered' )) {
    		wp_deregister_script('google-recaptcha');
    	}

    How could I fix it?

    And a warning on console is:
    'webkitIDBFactory' is deprecated. Please use 'IDBFactory' instead. VM13403:1

    I think it’s from the file “https://www.google.com/recaptcha/api.js”. Any way to remove this warning message?

    https://www.ads-software.com/plugins/advanced-nocaptcha-recaptcha/

  • The topic ‘Script has 1 error & 1 warning’ is closed to new replies.