• Resolved pepe80

    (@pepe80)


    Hi,
    After updating to version 5.4, all the forms on my site stopped working. I click on the submit button and nothing happens. I see an javascript error in the development console:

    null -> …/plugins/contact-form-7/modules/recaptcha/index.js?ver=5.4

    After index.js is formatted, the error occurs on line 157:

    
    return console.error(t)
    

    I deactivated:
    – cloudflare
    – all performance/cache plugins
    – my custom js code
    Without result. When I turn off the reCAPTCHA integration, the forms starts working.

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

    (@takayukister)

    Where can we see the website in question?

    Thread Starter pepe80

    (@pepe80)

    Hi @takayukister
    I already know what’s going on. I make a clean wordpress install + CF7. The problem occurs when I enter the reCaptcha keys from another domain:

    – CF7 v.5.3.2 -> The form still works and an error appears in the console:
    Uncaught (in promise) null | mydomain.com:1

    – CF7 v.5.4 -> The form is not working (the submit key does not work) and an error appears in the console:
    null | https://mydomain.com/wp-content/plugins/contact-form-7/modules/recaptcha/index.js?ver=5.4

    When I type random reCaptcha keys (v.5.4), the form still works (the submit key works), but the page reloads (Ajax doesn’t work) and an error appears in the console:
    Uncaught (in promise) Error: Invalid site key or not loaded in api.js

    • This reply was modified 3 years, 7 months ago by pepe80.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘reCaptcha fails since 5.4’ is closed to new replies.