Title: Script has 1 error &amp; 1 warning
Last modified: August 30, 2016

---

# Script has 1 error & 1 warning

 *  [pinkhare](https://wordpress.org/support/users/pinkhare/)
 * (@pinkhare)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/script-has-1-error-1-warning/)
 * `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&#8221](https://www.google.com/recaptcha/api.js&#8221);.
   Any way to remove this warning message?
 * [https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/](https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/)

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

 * ![](https://ps.w.org/advanced-nocaptcha-recaptcha/assets/icon-256x256.png?rev
   =2961544)
 * [CAPTCHA 4WP - Antispam CAPTCHA solution for WordPress](https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-nocaptcha-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-nocaptcha-recaptcha/reviews/)

## Tags

 * [call](https://wordpress.org/support/topic-tag/call/)
 * [redundant](https://wordpress.org/support/topic-tag/redundant/)
 * [script](https://wordpress.org/support/topic-tag/script/)
 * [twice](https://wordpress.org/support/topic-tag/twice/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 0 replies
 * 1 participant
 * Last reply from: [pinkhare](https://wordpress.org/support/users/pinkhare/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/script-has-1-error-1-warning/)
 * Status: not resolved