Posted: September 30, 2020 at 7:23 am
|
Hi. I have all events configured to request access before registering for a new event. (Force Login for registrations). Could you tell me what the problem is? Thank you! |
Hi there, I can see your site is using Yoast SEO and we recently had another user post about something similar here: https://eventespresso.com/topic/yoast-user-integration-addon-conflict/ If you add the snippet from that thread to your site: https://gist.github.com/Pebblo/ada38c7a10b6839fff20d4bf9b0e67ac Does the login work then? You can add that function to a custom functions plugin and we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
|
Hi. |
|
Also, I have disabled Yoast Seo. And performed access tests during the registration of an event. But it still doesn’t recognize registered users. |
|
Hello again. |
Then something more is happening on that site as the snippet works fine for me and explicitly checks for the login request within the WP user’s add-on, it shouldn’t be running at all on the above requests. This error:
Is the error that the snippet I gave you fixes.
So you’re getting the above route error even with Yoast disabled? Are you using WordPress MultiSite? Did the login previously work on your site? If so, what has changed between now and then? ANy new plugins installed? |
|
|
Good Morning. But it still doesn’t recognize registered users. No. I don’t use WordPress Multisite. We installed Event Espresso on 07/29/2020. But we didn’t notice the bug until a few weeks later, doing tests. |
To confirm, are the users already logged into the site but the login form still shows on the checkout page? (The login step should be skipped if you are already logged in). Can you link me to an event I can view? |
|
|
Hello again. |
|
Any alternative to Advanced noCaptcha & invisible Captcha plugin, that works well with Event Espresso? |
Hi there,
Nice find.
No, and as that’s a custom login form from within Event Espresso it makes sense that it won’t work as the reCaptcha response won’t be sent with the login request. For that plugin to work with EE’s login it will need hook into the ajax call and include the reCaptcha response so that it can validate it, however, it is possible to bypass the validation that plugin is doing specifically on the EE login request with some code: https://gist.github.com/Pebblo/916101ac0c31499c6328b4b18dcca692
None that I am aware of and if they validate all requests like the current plugin does they will all fail on the particular step. |
|
|
Thanks for the info. |
You can add that function to a custom functions plugin and we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
|
Ah! |
You’re most welcome. I reproduced the issue with the plugin you are using and used the above snippet to work around it, so it should fix the problem. |
|
|
Hi. |
You’re most welcome, I’m glad it worked for you. |
|
The support post ‘The Event Espresso login form does not recognize registered users’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.