Support

Home Forums WP User Integration The Event Espresso login form does not recognize registered users

The Event Espresso login form does not recognize registered users

Posted: September 30, 2020 at 7:23 am


Tony

  • Support Staff

October 1, 2020 at 4:02 am

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/


itistime

October 2, 2020 at 1:22 pm

Hi.
I have tried what you have told me.
But it does not work. Once the custom plugin is activated, it does not load the calendar, nor the pop-ups from the event registration process.
I have disabled it and proceeded to update Yoast to version 15, hoping this would fix the problem.
Now not only does it not work, but it throws another error:
The requested route wpuser_login could not be mapped to any registered modules.


itistime

October 2, 2020 at 1:26 pm

Also, I have disabled Yoast Seo. And performed access tests during the registration of an event. But it still doesn’t recognize registered users.
Any other idea?


itistime

October 2, 2020 at 4:59 pm

Hello again.
I have uninstalled Yoast Seo, with the intention of checking if there was any incompatibility between it and Event Espresso.
After this, I tried again to access during the registration of a test event, but the same error continues to occur.
I hope that with this you can find a solution to this matter.
Greetings!


Tony

  • Support Staff

October 5, 2020 at 3:44 am

But it does not work. Once the custom plugin is activated, it does not load the calendar, nor the pop-ups from the event registration process.

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:

The requested route wpuser_login could not be mapped to any registered modules.

Is the error that the snippet I gave you fixes.

I have uninstalled Yoast Seo, with the intention of checking if there was any incompatibility between it and Event Espresso.
After this, I tried again to access during the registration of a test event, but the same error continues to occur.

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?


itistime

October 5, 2020 at 5:33 am

Good Morning.
After deleting Yoast Seo, I don’t get the error: The requested route wpuser_login could not be mapped to any registered modules.

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.
The only plugin installed afterwards was Redirection. In addition to the AddOn Event Espresso – Stripe Gateway.
If you have any ideas, I await your reply.
In the meantime, I’m going to try disabling some plugins to see if there is any incompatibility. With what I find out, I will inform you.
Greetings.


Tony

  • Support Staff

October 5, 2020 at 6:11 am

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?


itistime

October 5, 2020 at 6:19 am

Hello again.
After some tests I have verified that the Advanced noCaptcha & invisible Captcha plugin was the one that prevented access through the Event Espresso forms.
We use this plugin to protect the access and registration forms of WordPress. At Event Espresso we have not used reCAPTCHA.
Were you aware of this error?
I have disabled Advanced noCaptcha & invisible Captcha and the Event Espresso forms are working properly.


itistime

October 5, 2020 at 6:25 am

Any alternative to Advanced noCaptcha & invisible Captcha plugin, that works well with Event Espresso?
Regards!!


Tony

  • Support Staff

October 5, 2020 at 7:59 am

Hi there,

After some tests I have verified that the Advanced noCaptcha & invisible Captcha plugin was the one that prevented access through the Event Espresso forms.

Nice find.

We use this plugin to protect the access and registration forms of WordPress. At Event Espresso we have not used reCAPTCHA.
Were you aware of this error?

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

Any alternative to Advanced noCaptcha & invisible Captcha plugin, that works well with Event Espresso?

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.


itistime

October 5, 2020 at 11:18 am

Thanks for the info.
Excuse the question: Where do I insert the code that you tell me?
In the theme’s functions.php file?


Tony

  • Support Staff

October 5, 2020 at 1:08 pm

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/


itistime

October 6, 2020 at 2:36 am

Ah!
Ok. Thank you!
I try it and I’ll tell you how it went.


Tony

  • Support Staff

October 6, 2020 at 3:10 am

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.


itistime

October 7, 2020 at 3:44 am

Hi.
I have installed the code snippet and activated
Advanced noCaptcha & invisible Captcha.
Google’s reCAPTCHA perfectly loads and validates the WordPress login form. And the Event Espresso login forms work properly.
Thanks for the information and for your attention.
Greetings.


Tony

  • Support Staff

October 7, 2020 at 4:25 am

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.

Event Espresso