Title: reCAPTCHA generating errors, blocking AJAX
Last modified: January 24, 2017

---

# reCAPTCHA generating errors, blocking AJAX

 *  [emasters](https://wordpress.org/support/users/emasters/)
 * (@emasters)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/recaptcha-generating-errors-blocking-ajax/)
 * I’m running Contact Form 7 version 4.6.1. With no reCAPTCHA in the form everything
   works as expected. With reCAPTCHA in place I’m seeing 2 javascript errors. The
   first error is `ReCAPTCHA placeholder element must be empty` and it occurs on
   page load. reCAPTCHA loads and functions as expected. When `submit` is pressed,
   a second error, `Invalid ReCAPTCHA client id: 0` is generated. This blocks the
   AJAX reset of the form and prevents the display of the successful submission 
   message. Email is sent as expected. As a result of these errors folks filling
   out the form have no way of knowing that it was submitted.
 * I can supply additional information if needed.
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/recaptcha-generating-errors-blocking-ajax/#post-8694812)
 * What other plugins and theme do you use?
 *  Thread Starter [emasters](https://wordpress.org/support/users/emasters/)
 * (@emasters)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/recaptcha-generating-errors-blocking-ajax/#post-8697239)
 * It’s a bit complicated. We’re using the plugin in a multisite setup. It’s used
   by about 36 sites in the network and seems to be failing everywhere. For an example
   see [http://testing471.classcaster.net/2017/01/25/contacting/](http://testing471.classcaster.net/2017/01/25/contacting/).
   This is a test blog running the stock Twenty Fifteen theme. Network activated
   plugins include BWP reCAPTCHA (CF7 integration disabled), Google Analytics, Limit
   Login Attempts, TinyMCE Advanced. The only plugin activated for the site itself
   is Contact Form 7.
 * Since this seems to have cropped only recently I’m going to try rolling back 
   to an earlier version of the CF7 plugin and see if that makes a difference.
 * Thanks.
 *  Thread Starter [emasters](https://wordpress.org/support/users/emasters/)
 * (@emasters)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/recaptcha-generating-errors-blocking-ajax/#post-8698781)
 * I’ve rolled back CF7 to version 4.4.2 and it works as expected with reCAPTCHA.
   Anything newer than that generates the errors breakage outlined above.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘reCAPTCHA generating errors, blocking AJAX’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [reCAPTCHA](https://wordpress.org/support/topic-tag/recaptcha/)

 * 3 replies
 * 2 participants
 * Last reply from: [emasters](https://wordpress.org/support/users/emasters/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/recaptcha-generating-errors-blocking-ajax/#post-8698781)
 * Status: not resolved