Title: ERROR grecaptcha.ready NOT VARIABLE DEFINED&#8230;
Last modified: November 12, 2020

---

# ERROR grecaptcha.ready NOT VARIABLE DEFINED…

 *  Resolved [adminlibreriaurano](https://wordpress.org/support/users/adminlibreriaurano/)
 * (@adminlibreriaurano)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-grecaptcha-ready-not-variable-defined/)
 * Hello.
    There is an error into the module (recaptcha) contact form.
 * Message error
    Uncaught ReferenceError: grecaptcha is not defined <anonymous>
   [https://libreriaurano.com/wp-content/plugins/contact-form-7/modules/recaptcha/script.js?ver=5.3:28](https://libreriaurano.com/wp-content/plugins/contact-form-7/modules/recaptcha/script.js?ver=5.3:28)
 * No shown the captcha in the contact form, no exist correctly the var of grecaptcha.
   
   Example grecaptcha.ready( wpcf7_recaptcha.execute_on_homepage );
 * [https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default](https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default)
 * And other error releated.
    Message error The resource “https://www.google.com/
   recaptcha/api.js?render=6LcC43kUAAAAAKBjpUTBZUsh_j0aiQSla4VnaEwf&ver=3.0” was
   blocked due to a MIME type mismatch (“text / html”) (X-Content-Type-Options :
   nosniff).
 * ¿there’s a solution?… Many thanks.
    -  This topic was modified 5 years, 6 months ago by [adminlibreriaurano](https://wordpress.org/support/users/adminlibreriaurano/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-grecaptcha-ready-not-variable-defined%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Matthias Bathke](https://wordpress.org/support/users/matthiasbathke/)
 * (@matthiasbathke)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-grecaptcha-ready-not-variable-defined/#post-13657254)
 * I can confirm this issue. This error occurs out of nowhere with both, v5.2 and
   v5.3 of CF7. We are currently required to deactivate ReCaptcha Feature until 
   this has been fixed :/
 *  Thread Starter [adminlibreriaurano](https://wordpress.org/support/users/adminlibreriaurano/)
 * (@adminlibreriaurano)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-grecaptcha-ready-not-variable-defined/#post-13659804)
 * A Ok thank you Matthias.
    I dont know this information. 😀
 * This problem have dificult to fix the error?
 * Ok, I deactivated the option in my CF7 😀
 * Many thanks.
 *  Thread Starter [adminlibreriaurano](https://wordpress.org/support/users/adminlibreriaurano/)
 * (@adminlibreriaurano)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-grecaptcha-ready-not-variable-defined/#post-13659810)
 * Ok. close the ticket. 😀
 *  Thread Starter [adminlibreriaurano](https://wordpress.org/support/users/adminlibreriaurano/)
 * (@adminlibreriaurano)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-grecaptcha-ready-not-variable-defined/#post-13659889)
 * Hello Matthias…
 * Please you have time to check this info?
    —— In other ticket the problem more
   then likely is the fact that you are loading the base recaptcha JS with async&
   defer attributes, so it is not guaranteed to be available when inline JS (which
   depends on said recaptcha JS) is executed;
 * <script src=”//www.google.com/recaptcha/api.js” async defer type=”88c906a1f097d3d4a35c2a15-
   text/javascript”></script>
 * this is likely made even more fragile by using AO (which also defers the aggregate
   JS), asyncjs (which defers non-autoptimized JS) and cloudflare’s rocketloader(
   which has it’s own, different method of deferring). I also see jQuery is not 
   defined errors by the way, so you will have to look into that as well I guess.
 * hope this helps,
    frank Link: [https://wordpress.org/support/topic/uncaught-referenceerror-grecaptcha-is-not-defined-4/](https://wordpress.org/support/topic/uncaught-referenceerror-grecaptcha-is-not-defined-4/)
 * This option is valid?… if not, how to deactivated th recaptcha? only erase the
   dir of grecaptcha in CF7?
    Uncaught ReferenceError: grecaptcha is not defined
   <anonymous> [https://libreriaurano.com/wp-content/plugins/contact-form-7/modules/recaptcha/script.js?ver=5.3:28](https://libreriaurano.com/wp-content/plugins/contact-form-7/modules/recaptcha/script.js?ver=5.3:28)
 * OK I wait your comments 😀
 *  [Matthias Bathke](https://wordpress.org/support/users/matthiasbathke/)
 * (@matthiasbathke)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/error-grecaptcha-ready-not-variable-defined/#post-13666677)
 * I am not a developer of CF 7, I’ve just added to your ticket that the issue occurs
   on my side, too. We have to wait until plugin author responds here 🙂

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

The topic ‘ERROR grecaptcha.ready NOT VARIABLE DEFINED…’ 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

 * [contact](https://wordpress.org/support/topic-tag/contact/)
 * [form](https://wordpress.org/support/topic-tag/form/)

 * 5 replies
 * 2 participants
 * Last reply from: [Matthias Bathke](https://wordpress.org/support/users/matthiasbathke/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/error-grecaptcha-ready-not-variable-defined/#post-13666677)
 * Status: resolved