Plugin Support
WFAdam
(@wfadam)
Hello @lunule and thanks for reaching out to us!
When it comes to the WooCommerce Login Security integration, We are looking for an element with the ID primary and that is where we are appending login messages. We check that there is a .woocommerce element, but we don’t make sure #primary exists.
If you add a div on the page with id="primary" the messages should be displayed there. It should be added by WooCommerce by default, so it might be getting overridden by your theme. If you need to, reach out to your theme provider and they should be able to add this div.
We are actually rapidly working on a fix for this so this tag doesn’t need to be present for the login to work, which should be released hopefully soon.
Thanks again for your support!
Hi Adam,
Thanks for your detailed reply.
This issue is not related to the page’s HTML structure – the div with the id primary is there.
This seems to be a functionality issue: when both the login and the registration forms are available on the same page (and the WordFence WooCommerce integration with the Google Recaptcha V3 service [and WITHOUT 2FA] is activated), both forms stop working.
You can see what the problem is by testing the registration form here:
https://qigongstag.wpengine.com/my-account/
Thanks for taking another look at this issue.
Also, I forgot to mention the symptom: the login/registration forms stop working with the earlier-mentioned WordFence configuration, meaning, instead of logging in/registering, an error gets displayed, saying
ERROR: A username and password must be provided. Lost your password?
Once the following WordFence options are disabled:
– Enable reCAPTCHA on the login and user registration pages
– Enable WooCommerce integration
… the forms work nicely, as expected, again.
(see screenshot here: https://ibb.co/fxwPFsx)