Support

Home Forums Event Espresso Premium An error has occurred: You have entered an email address that matches an existin

An error has occurred: You have entered an email address that matches an existin

Posted: October 26, 2020 at 4:28 am


Zube

October 26, 2020 at 4:28 am

Hi Guys,

This is driving me crazy. I disabled the force Login and auto user creation as well as user sync in registration forms but when someone tries to register a friend the below error is happening:

An error has occurred:
You have entered an email address that matches an existing user account in our system. You can only submit registrations for your own account or for a person that does not exist in the system. Please use a different email address.

Why?

Zube


Tony

  • Support Staff

October 26, 2020 at 8:55 am

Hi Zube,

Within the WP user integration add-on is a check which runs when the user enters their email address into the registration form, it checks to see if there is a valid user for that email and then blocks the registration showing the error you mentioned.

This is to try and make sure that registrations for a specific user are actually linked to that user (as they need to be logged in to register).

However, you can disable that check if preferred using a snippet like this:

https://gist.github.com/joshfeck/1131145859a3fab58f4d#file-disable_email_match_everyone-php

Add that to a custom functions plugin, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


Zube

October 26, 2020 at 8:27 pm

That’s great. That has fixed the issue.

Thanks for quick reply Tony.

Regards
Zube


Tony

  • Support Staff

October 27, 2020 at 5:10 am

You’re most welcome.

Any further issues/questions just let us know.

The support post ‘An error has occurred: You have entered an email address that matches an existin’ 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.

Do NOT follow this link or you will be banned from the site!
[i]
[i]