• Resolved sosvoile

    (@sosvoile)


    hi

    since 5.2 update, “grecaptcha not defined” error message when using complianz rgpd plugin AND recaptcha v3 together. removing one of them solve issue.
    form validation fails with message like “please accept marketing cookies”. even when cookies are already accepted and loaded.
    deactivated all optimization and cache: no change.
    new configuration of complianz with wizard: no change.

    as they are productions website, had no choice other than remove recapcha keys.
    please investigate.

    best regards

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

    (@takayukister)

    Where can we see the website in question?

    Thread Starter sosvoile

    (@sosvoile)

    https://www.mvob.fr
    https://www.sosvoile.com
    as I wrote it’s production site so recacptcha is deactivated and a lot of optimizations are enabled.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

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

    Thread Starter sosvoile

    (@sosvoile)

    try this one https://www.bande-uv.com/contact/
    oceanwp, ocean extra, elementor, complianz, wordfence, yoast, wps hide login, monsterinsights, backwpup.
    all optimization and cache plugins disabled. no apache cache, only remains nginx reverse proxy cache and php opcache (both cleaned).

    bluesky10

    (@jouielovesyou)

    “Protected by recaptcha” now displayed on all pages unlike before that it’s showing only on the page that has forms.

    functions.php

    function oiw_load_recaptcha_badge_page() {
    if ( !is_page( array( ‘contact’ ) ) ) {
    wp_dequeue_script(‘google-recaptcha’);
    }
    }
    add_action( ‘wp_enqueue_scripts’, ‘oiw_load_recaptcha_badge_page’ );

    // Deregister Contact Form 7 JavaScript files on all pages without a form
    add_action( ‘wp_print_scripts’, ‘aa_deregister_javascript’, 100 );
    function aa_deregister_javascript() {
    if ( ! is_page( ‘contact’ ) ) {
    wp_deregister_script( ‘contact-form-7’ );
    }
    }

    Thread Starter sosvoile

    (@sosvoile)

    I don’t understand what it is suppose to do. however it crashes (500).

    never update contact form to the latest update

    wait a few weeks, before all the bugs are reported and fixed…

    i learned my lesson a few years ago, when an contact form7 update, crashed my website and deleted every contact form i had ??

    Thread Starter sosvoile

    (@sosvoile)

    we are here to solve bugs, not to let others do.
    updates are automatic, no time to waste with that.
    using a backup solution, daily or weekly basis. scripts on vps hosting, one click site restore.
    yet received only one, but if spam increase I will restore.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all plugins excluding Contact Form 7.

    Why you are advised to deactivate plugins and switch to the default theme.

    Thread Starter sosvoile

    (@sosvoile)

    can’t do that. again as I wrote first they are production websites, second no need to deactivate everything and change theme because disabling only complianz work.

    waiting for a better solution I rolled back to version 5.1.9 and “normal” configuration, and of course it works…

    Hi @sosvoile, @takayukister

    You can disable reCaptcha under Complianz -> Integrations.

    We will have a look at how to integrate with 5.2.0. 5.1.9 is still working as it should.

    Will be back asap.

    regards Aert | Complianz

    Thread Starter sosvoile

    (@sosvoile)

    solved with complianz 4.6.5

    thanx to complianz team!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘5.2 update broke recaptcha validation’ is closed to new replies.