Additional information.
Error message: Error: reCAPTCHA verification failed. Please try again.
error container identifier: .wpmem_msg
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.
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.
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
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).
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.
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