Title: Uncaught ReferenceError:
Last modified: July 6, 2020

---

# Uncaught ReferenceError:

 *  Resolved [infoacb](https://wordpress.org/support/users/infoacb/)
 * (@infoacb)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-25/)
 * I started getting this error message recently on every page of my site, most 
   likely after ugraded to Contact Form 7 5.2, pelase help, thanks!
 * Uncaught ReferenceError: grecaptcha is not defined script.js?ver=5.2:28
    at HTMLDocument.
   <anonymous> (script.js?ver=5.2:28) at HTMLDocument.cmplz_cf7_fire_domContentLoadedEvent((
   index):294) at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3) at HTMLDocument.
   r.handle (jquery.js?ver=1.12.4-wp:3) at Object.trigger (jquery.js?ver=1.12.4-
   wp:3) at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2) at cmplzRunAfterAllScripts(
   cookieconfig.min.js?ver=4.6.4:1) at cmplzEnableMarketing (cookieconfig.min.js?
   ver=4.6.4:1) at setBlockedContentContainer (cookieconfig.min.js?ver=4.6.4:1) 
   at conditionally_show_warning (cookieconfig.min.js?ver=4.6.4:1) (anonymous) @
   script.js?ver=5.2:28 cmplz_cf7_fire_domContentLoadedEvent @ (index):294 dispatch
   @ jquery.js?ver=1.12.4-wp:3 r.handle @ jquery.js?ver=1.12.4-wp:3 trigger @ jquery.
   js?ver=1.12.4-wp:3 a.event.trigger @ jquery-migrate.min.js?ver=1.4.1:2 cmplzRunAfterAllScripts
   @ cookieconfig.min.js?ver=4.6.4:1 cmplzEnableMarketing @ cookieconfig.min.js?
   ver=4.6.4:1 setBlockedContentContainer @ cookieconfig.min.js?ver=4.6.4:1 conditionally_show_warning
   @ cookieconfig.min.js?ver=4.6.4:1 (anonymous) @ cookieconfig.min.js?ver=4.6.4:
   1 i @ jquery.js?ver=1.12.4-wp:2 fireWith @ jquery.js?ver=1.12.4-wp:2 ready @ 
   jquery.js?ver=1.12.4-wp:2 J @ jquery.js?ver=1.12.4-wp:2 cookieconfig.min.js?ver
   =4.6.4:1 opt-out cookieconfig.min.js?ver=4.6.4:1 fire cmplz_event_functional 
   cookieconfig.min.js?ver=4.6.4:1 fire cmplz_event_marketing Uncaught ReferenceError:
   grecaptcha is not defined script.js?ver=5.2:28 at HTMLDocument.<anonymous> (script.
   js?ver=5.2:28) (anonymous) @ script.js?ver=5.2:28
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-referenceerror-25%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-25/#post-13088898)
 * What other plugins and theme do you use on the site?
 *  [ridley55](https://wordpress.org/support/users/ridley55/)
 * (@ridley55)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-25/#post-13089958)
 * Hello; i have the same problem
 * i desactivated all the plugins and in use the default theme
 * > [View post on imgur.com](https://imgur.com/UdkdAAy)
 *  Thread Starter [infoacb](https://wordpress.org/support/users/infoacb/)
 * (@infoacb)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-25/#post-13090859)
 * Thanks Takayuki for the response! I use Supermarket Ecommerce theme (free version)
   and have the following plugins activated:
    Complianz | GDPR/CCPA Cookie Consent
   v4.6.4 Contact Form 7 v5.2 Elementor v2.9.13 Responsive WordPress Slider – Soliloquy
   Lite v2.6.0 WCFM – WooCommerce Frontend Manager v6.5.1 WCFM – WooCommerce Frontend
   Manager – Groups & Staffs v3.4.5 WCFM – WooCommerce Multivendor Marketplace v3.4.2
   WCFM – WooCommerce Multivendor Membership v2.9.1 WooCommerce v4.2.2 WordPress
   Importer v0.7 WP Mail Logging v1.9.6 The above plugins and theme were the same
   before and after this “Uncaught ReferenceError: grecaptcha is not defined” error
   appeared. Thanks again for your help!
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-25/#post-13091247)
 * Try switching to the default theme and deactivating all plugins excluding Contact
   Form 7, WooCommerce, and WordPress Importer.
 * [Why you are advised to deactivate plugins and switch to the default theme.](https://contactform7.com/2019/12/02/why-you-are-advised-to-deactivate-plugins-and-switch-to-the-default-theme/)
 *  Thread Starter [infoacb](https://wordpress.org/support/users/infoacb/)
 * (@infoacb)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-25/#post-13091685)
 * Thanks Takayuki! Looks like the conflict is with plugin Complianz | GDPR/CCPA
   Cookie Consent as the error message went away after deactivating this plugin 
   while keeping all the others activated, including the theme. Unfortunately, this
   Complianz plugin is very important to me given it helps with regulatory compliance.
   What do you suggest as a next step to get to the bottom of this conflict issue.
   Thanks again for your help.
 *  Thread Starter [infoacb](https://wordpress.org/support/users/infoacb/)
 * (@infoacb)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-25/#post-13091937)
 * One more piece of info: Regardless what web page I’m in, the Uncaught ReferenceError
   is always referencing script.js?ver=5.2:28, which is the following line 28 of
   code in script.js:
    grecaptcha.ready( wpcf7_recaptcha.execute_on_homepage );
 * Hope this provide more insight to the issue. Thanks again for your help.

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

The topic ‘Uncaught ReferenceError:’ 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/)

 * 6 replies
 * 3 participants
 * Last reply from: [infoacb](https://wordpress.org/support/users/infoacb/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-25/#post-13091937)
 * Status: resolved