• Hello!
    Im using latest contact form 7 plugin with Recaptcha, tried using older versions

    Today, all sites began to appear errors

    Uncaught TypeError: Cannot read property 'secret' of null
        at a.wp.receiveEmbedMessage (wp-embed.min.js?ver=4.9.7:1)

    And Recaptcha not working
    Uncaught (in promise) Request timed out

    Anyone have the same issues?

    The page I need help with: [log in to see the link]

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

    (@takayukister)

    The error message has nothing to do with Contact Form 7 or reCAPTCHA. To find out what is causing the error, try switching to the default theme (Twenty Seventeen) and deactivating all other plugins.

    Hi,

    I have found a workaround, for now, just reload or reset the reCaptcha by using ‘grecaptcha.reset();’ function in JS.

    I am not exactly sure about the reason the captcha is not working, but this is a possibility that when captcha is loaded within some div or modal(pop-up) it breaks.

    However, on a site I have recaptcha loaded in both ways,
    one is via ajax the CF7 is displayed in a pop-up which is hidden on initial page load. — for this I have relaoded the recaptcha in ajax call and it worked!!!

    Still looking for the other case where the CF7 with recaptcha is just displayed in a pop-up window using Fancy box….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Recaptcha Cannot read property ‘secret’ of null’ is closed to new replies.