• Resolved doshermanastuciudadhoy

    (@doshermanastuciudadhoy)


    Hello friends,

    Yesterday I was fighting with the forms of a web of a client, deactivate theme, all the plugins and everything and the problem continued, I gave the following error “There was an error trying to send your message. Please try again later.” when sending mostly with Google Chrome, although it also happened sometimes with Firefox.

    Finally, almost desperate, I decided to delete the Google reCAPTCHA V3 keys from the CF7 integration section and then the problem was solved. I have proof that I’m not the only one who is experiencing this problem, so I’m telling you to solve it and also that other users do not have to spend a bad afternoon like the one I had yesterday :-).

    a greeting

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

Viewing 15 replies - 16 through 30 (of 49 total)
  • Do someone knows about other plugin, that has recaptcha, and its free? With Wp Form recaptcha is not free.

    • This reply was modified 4 years, 9 months ago by ellirow1.

    Hey everyone, in my case “Embed Plus for YouTube – Gallery, Channel, Playlist, Live Stream” plugin was conflicting with CF7 + reCaptcha V3. Lost 1 precious hour…

    • This reply was modified 4 years, 9 months ago by PTPAC.
    • This reply was modified 4 years, 9 months ago by PTPAC.

    Started again… it was not from “Embed Plus for YouTube – Gallery, Channel, Playlist, Live Stream”… ??

    I narrowed this down to a problem with deferring JS script files. My theme was adding “defer ‘” (incorrect syntax) to every script include, such as:

    <script type=’text/javascript’ src=’https://www.google.com/recaptcha/api.js?render=recaptcha_key&ver=3.0&#8242; defer ‘></script>

    This was being added by the defer_parsing_of_js function in wp_content/themes/<theme name>/functions.php file:

    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
    if ( strpos( $url, ‘jquery.js’ ) ) return $url;
    return “$url’ defer “;
    }

    I don’t need this so removed the “‘ defer” part as below:

    function defer_parsing_of_js ( $url ) {
    if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
    if ( strpos( $url, ‘jquery.js’ ) ) return $url;
    return “$url”;
    }

    Which fixed the problem immediately. It doesn’t seem to matter where the API script include is rendered by the way, mine is before the </body> tag.

    A year later, still the same issue. I have no error in the console. reCaptcha is simply not showing up, but blocking the form.
    Does anyone have a hint how to find the issue?
    This is a multisite, I have CF7/reCaptcha running on some of the sites, but on a new one it fails. No idea what to check.

    I just had this problem with a new site setting up. Disable ReCaptcha and it works, enable and it breaks. My site has content security policy JS errors when ReCaptcha is enabled too, so might be related?

    • This reply was modified 4 years, 9 months ago by technicalx.

    Same problem. Remove reCAPTCHA and CF7 works. But now I’m open to spam. Any other ideas for a reCAPTCHA friendly contact form plugin?

    Mine is working again now and I don’t know what I did. Before I was able to break it by submitting a lot and then I guess it thought I was a spammer and It broke. But now it just works fine.. ? I guess I wont know if it fails because you can’t force a test as a spammer which is really dumb of ReCaptcha to lack that.

    It seems that every now and again my forms refuse to be sent until I remove v3 – then the spam begins. I then re-instate v3 and it works again for a while. Please can someone come up with a solution. I looked at the script defer, but this does not seem to solve the issue. Think I might have to start using v2 again.

    V3 ended up not working for me. I went to Contact Form 7 Captcha which uses V2 and it works.

    The problem with V3 is that the form just shows a generic orange error message to the user and doesn’t specify what went wrong. You’d never know it was the captcha blocking them unless you read these support forums. And it never issues the image challenge or anything to verify a human, it just fails if it thinks you are a spammer.

    Hello. I added the code that @tezet said in the first line of the form and it worked. Thanks.

    Thanks for the code @tezet. It works!

    Hi.
    I have the same issue… since yesterday. It’s been 3 years i’m using CF7 without any problem. I’ve been using Recaptcha for around 1 year. I don’t know why i had this problem yesterday.
    I solved it by deactivating Recaptcha V3 but i don’t like this idea. V2 is not great…
    The developer didn’t give any solution?

    @tezet
    Your solution worked. Thx

    We are using the “Litespeed Cache” pluging; after resetting it the problem disappeared.

    Steps:
    – BackUp your website!
    – Open “Litespeed Cache” plugin in Backend
    – At the bottom (Right) click “Reset All Settings””
    – Under “Reset All Settings” Click “Reset”

    In our case this solved the issue.

Viewing 15 replies - 16 through 30 (of 49 total)
  • The topic ‘Google ReCaptcha v3 & Contact Form 7 Not Working’ is closed to new replies.