• Resolved delanthear

    (@delanthear)


    Hello! This morning, lots of our sites which use Recaptcha and Complianz have issues with the recaptcha blocking via Forminator

    When you accept cookies, either by using the cookie banner, or by clicking on the replacement message, you get a javascript error and the recaptcha doesn’t load.

    If you disable complianz, it works fine with forminator.

    This is the Javascript error:

    
    recaptcha__en_gb.js:37 Uncaught Error: reCAPTCHA placeholder element must be empty
        at www.gstatic.com/recaptcha/releases/BycHQdSIhzR_1EcOLw2mOzYQ/recaptcha__en_gb.js:37:140
        at e.renderCaptcha (front.multi.min.js:1:94831)
        at front.multi.min.js:1:96795

    It still fails to work if you disable the forminator integration and/or the placeholder.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter delanthear

    (@delanthear)

    HI,

    I’ve just realised that one of our sites which is still on 6.0.6 doesn’t have this problem. I’ve just rolled back one of the affected ones from 6.1.0 to 6.0.6 and that works fine so it looks like a new bug introduced in 6.1.0

    It’s a pretty big one though. All our client websites now have customers that can’t use their contact forms unless we roll back manually to 6.0.6, or we disable Complianz, which is not great. Both approaches as a lot of work too!

    Can you look at ASAP please?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @delanthear I’ll investigate, will get back to you as soon as I know more.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @delanthear which recaptcha type do you use? V2, invisible or V3?

    Thread Starter delanthear

    (@delanthear)

    V3, and placed inline in the form, rather than to the left or right.

    Thread Starter delanthear

    (@delanthear)

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I just tested with V2 and 6.0.6, but get the same error.

    I’ll investigate.

    Thread Starter delanthear

    (@delanthear)

    Thanks for looking so quickly.

    Here is the site I downgraded and it started working: https://dynamicmassage.co.uk/contact/

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    It looks like this is not something introduced by a recent update, but by an change in Google Recaptcha. The button html which is injected into the placeholder (on which the user can click to accept) is now a problem for Google Recaptcha.

    A possible solution is to create a script that clears the html from the placeholder. I’m testing that now.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Ok, this new update from recaptcha requires the placeholder to be cleared before the recatpcha script runs.

    I’ve created a fix in the integration, which handles this:

    https://github.com/Really-Simple-Plugins/complianz-gdpr/tree/fix-recaptcha-integration

    We will be testing this, after it has been confirmed it will be included in the next release.

    For now, you can either deactivate the recaptcha and forminator integration in your sites, or update to the GitHub beta branch with the fix if your test confirms it works for you as well.

    Thread Starter delanthear

    (@delanthear)

    Turning off the integration will take a quite a while as it’s across quite a few sites. (Although that didn’t initially work for me, but I only disabled the forminator integration, rather than trying to turn off the recaptcha integration)

    Do you know how (roughly) long a timescale the update will be? If it’s relatively quick, we may wait it out.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    This week is reserved for several separate branch tests, including this one. Then next week the release candidate will be tested, followed by the release. So the update is expected for february 28th.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @delanthear We will be releasing a patch for this on Monday. It seems indeed to be caused by a change in Complianz, not sure why I had the same issue in 6.0.6 in my first tests.

    The fix for this has now been merged on github:
    https://github.com/really-Simple-Plugins/complianz-gdpr

    Apologies for the inconvenience caused.

    Thread Starter delanthear

    (@delanthear)

    Thanks for turning this around so quickly.

    Latest version is working right on one of our installs, but the one on our MU install isn’t. I suspect that is a caching problem though? (although I have disabled the caching plugin we were using AND I’m using an incognito browser). https://freemyself.net/contact/

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Recaptcha blocking broken?’ is closed to new replies.