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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Get online help with the WP User Integration add-on by creating a support topic in this forum. Offer member pricing with the WP User Integration. WP User Integration documentation.

Status: publish

Updated by  Tony 2 weeks, 5 days ago ago

Topic Tags

Tagged: 

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!
[gravityform id=80 title=false description=false ajax=false]
<div class='gf_browser_unknown gform_wrapper' id='gform_wrapper_80' ><form method='post' enctype='multipart/form-data' id='gform_80' action='/topic/the-event-espresso-login-form-does-not-recognize-registered-users/'> <div class='gform_body'><ul id='gform_fields_80' class='gform_fields top_label form_sublabel_below description_below'><li id='field_80_1' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_1' >First name<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_text'><input name='input_1' id='input_80_1' type='text' value='' class='medium' aria-required="true" aria-invalid="false" /></div></li><li id='field_80_2' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_2' >Email address<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_email'> <input name='input_2' id='input_80_2' type='email' value='' class='medium' aria-required="true" aria-invalid="false" /> </div></li><li id='field_80_3' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' >GDPR Agreement<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_checkbox'><ul class='gfield_checkbox' id='input_80_3'><li class='gchoice_80_3_1'> <input name='input_3.1' type='checkbox' value='I consent to have this website store my submitted information so they can respond to my inquiry.' id='choice_80_3_1' /> <label for='choice_80_3_1' id='label_80_3_1'>I consent to have this website store my submitted information so they can respond to my inquiry.</label> </li></ul></div></li><li id='field_80_4' class='gfield gform_validation_container field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_4' >Name</label><div class='ginput_container'><input name='input_4' id='input_80_4' type='text' value='' autocomplete='off'/></div><div class='gfield_description' id='gfield_description_80_4'>This field is for validation purposes and should be left unchanged.</div></li> </ul></div> <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_80' class='gform_button button' value='Download Now' onclick='if(window["gf_submitting_80"]){return false;} if( !jQuery("#gform_80")[0].checkValidity || jQuery("#gform_80")[0].checkValidity()){window["gf_submitting_80"]=true;} ' onkeypress='if( event.keyCode == 13 ){ if(window["gf_submitting_80"]){return false;} if( !jQuery("#gform_80")[0].checkValidity || jQuery("#gform_80")[0].checkValidity()){window["gf_submitting_80"]=true;} jQuery("#gform_80").trigger("submit",[true]); }' /> <input type='hidden' class='gform_hidden' name='is_submit_80' value='1' /> <input type='hidden' class='gform_hidden' name='gform_submit' value='80' /> <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' /> <input type='hidden' class='gform_hidden' name='state_80' value='WyJbXSIsIjBiNjdjZjkyMDUzOWUxOWY5Y2NiZjIwMzM4YjA1Mjk4Il0=' /> <input type='hidden' class='gform_hidden' name='gform_target_page_number_80' id='gform_target_page_number_80' value='0' /> <input type='hidden' class='gform_hidden' name='gform_source_page_number_80' id='gform_source_page_number_80' value='1' /> <input type='hidden' name='gform_field_values' value='' /> </div> </form> </div><script type='text/javascript'> jQuery(document).bind('gform_post_render', function(event, formId, currentPage){if(formId == 80) {} } );jQuery(document).bind('gform_post_conditional_logic', function(event, formId, fields, isInit){} );</script><script type='text/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [80, 1]) } ); </script>
[i]
[i]