• Resolved infoacb

    (@infoacb)


    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 to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Hello; i have the same problem

    i desactivated all the plugins and in use the default theme

    View post on imgur.com

    Thread Starter infoacb

    (@infoacb)

    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

    (@takayukister)

    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.

    Thread Starter infoacb

    (@infoacb)

    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

    (@infoacb)

    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.