• WordPress Version 6.7.1

    • Multisite
    • Classic theme with classic editor plugin enabled
    • wp-members latest Version 3.4.9.7
    • Moderate registration enabled

    Error persisits when using: Really simple captcha, H captcha, G recaptcha v3,and no captcha.

    No cache, flushed cache, and incognito mode.

    confirmed shortcode matches: [wpmem_form register]

    Followed steps specified by “new features” https://rocketgeek.com/plugins/wp-members/docs/plugin-settings/new-feature-settings/

    Site employs three (3) form plugins, wp-members, Contact form 7, and Formidible.

    Consideration appreciated.

    Addendum:

    We have additionally tried lowering with score with but no effect

    add_filter( 'wpmem_recaptcha_score', function( $score ) {
    /*
    * Return a score between 1 and 0.1.
    * A lower score will let through more results.
    */
    return 0.3;
    });
    • This topic was modified 6 months, 1 week ago by dj.cowan.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter dj.cowan

    (@djcowan)

    Additional information.

    Error message: Error: reCAPTCHA verification failed. Please try again.

    error container identifier: .wpmem_msg

    Plugin Author Chad Butler

    (@cbutlerjr)

    Are you using recaptcha for one of those other forms plugins (or any other plugin)?

    WP-Members’ does use core WP functions to insert the user (specifically wp_insert_user), which ultimately will trigger WP’s user_register action. There are some other WP actions triggered along the way as well. Those core WP action hooks can also be used by other plugins which is probably what is happening here.

    I’d recommend testing with other plugins disabled to see if there’s something else involved here.

    Thread Starter dj.cowan

    (@djcowan)

    Thank you for your prompt attention to our issue.

    The error message thrown is reCAPTCHA verification failed. which suggests the form isn’t being submitted; therefor shouldn’t interact with the wp_insert_user hook.

    We have disabled recaptcha for all of the form plugins to ensure recaptcha is not being loaded on the registration page.

    Disabling the other form plugins; in particular the primary form plugin might prove impractical.

    It might be more cost effective for us to trace the error through the code for this plugin, as a) the registration form is the only form in use which is failing, and b) the changelog indicates a lot of recent refactoring.

    Will advise if we can identify the cause

    • This reply was modified 6 months, 1 week ago by dj.cowan.
    Thread Starter dj.cowan

    (@djcowan)

    We can confirm the issue is not related to

    a) WordPress User Registration,
    b) Google Captcha v3,
    c) email or email delivery.

    We confirmed this by:

    1) creating a WordPress User registration form using Forminator Pro.
    2) Enabling Google reCaptcha v3 for the new regisration form wth the same Google API keys
    3) Registering a new User via the new form
    4) confirming reciept of both admin and user emails.
    5) approving the new registration via the WordPress admin dashboard.

    After confirming the Google Recaptcha keys are valid and the WordPress User registration process works as expected, we must admit confusion regarding the error message displayed by wp-members plugin Error: reCAPTCHA verification failed.

    We will as promised, keep you updated

    Plugin Author Chad Butler

    (@cbutlerjr)

    I think there might have been some confusion related to my previous post. This is most likely related to whatever process you have the recaptcha enabled for (I’m presuming that is the Forminator Pro). If that plugin uses the same core WP hooks to process its form (which I would assume it does), then whatever process is validating the captcha will be triggered whenever that action is fired. So the registration is halted by recaptcha validation by that process, not WP-Members. You need to know what core WP action hooks are triggered during the other plugin’s recaptcha validation. That way, you’d know what you could do to work around it (such as using remove_action when the WP-Members process is fired).

    Thread Starter dj.cowan

    (@djcowan)

    Forminator Pro was added after the current support request was made. The logic being; if WP-Members recaptcha was failing, then Forminator would fail too and potential help us to isolate the issue.
    The primary form application is Formidible Forms which provides the bulk of the application’s fuctionality. Contact Form Seven is employed for inbound contact forms, with WP-Members handling registration and content restriction. If we were not reliant upon the use of existing, additional wp-members User fields to populate application data, we could potentially swap it out for an alternative.

    We are very conscious of th fact that we use the free version of the plugin, and It pains us to find ourselves drawing upon the energy and resources of the development team. We are grateful to the WP Members team, past and present, and have nothing but praise for the plugin and plugin developers. The prompt response and attention to this support topic being an excellent example of the professional level of service we have received. And while this may read as a vain attempt to draw favour, please don’t treat it as such. We have enjoyed many years of faultless performance from WP-Members – provided to us for free – gratis – and praise should be shown for this fact.

    The imformation provided in this thread are an honest attempt by our team to give back. It’s our hope we can help to isolate and identify the cause of an issue whose cause might be one or a combination of an innumerable number of unrelated things.

    Thread Starter dj.cowan

    (@djcowan)

    We network deactivated and manually deactivated the following plugins from each subsite in the multisite network.

    Contact Form 7
    Contact Form DB
    Formidable Forms
    Formidable Forms Pro
    Formidable Views
    Forminator Pro
    imageDirect Formidable to PDF
    imageDirect WP-Members Extension
    Akismet
    Defender Pro
    Jetpack
    Wordfence Security
    Yoast Duplicate Post
    Yoast SEO
    WpDataTables
    WPMU DEV Dashboard
    User Role Editor
    Site Kit by Google
    Simple Client Dashboard - WP Limited Admin User Role
    Multisite Content Copier
    Image Direct Module Factory
    Image Direct Module – PDF Manager
    Domain Mapping
    Advanced Custom Fields PRO

    Working through each subsite we:

    1. reactivated each individual plugin one at a time,

    2. filled in the registration form,

    3. registered a new user

    4. confirmed registration

    5. confirmed reciept of:

    5.1 admin email

    5.2 User email

    6. Deleted the User from the specific subsite

    7. Deleted the User from the multisite

    8. Cleared the server cache

    9. Cleared the static file cache.

    10. Reloaded the form page to ensure the submitted data was not resubmitted*

    We will contact you via your commercial site with the result

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘ReCAPTCHA verification failed but CAPTCHA for Registration set to none.’ is closed to new replies.