Support

Home Forums Event Espresso Premium System Error

System Error

Posted: July 2, 2017 at 1:52 am

Viewing 10 reply threads


Peter

July 2, 2017 at 1:52 am

Hi there, I got the following error randomly the other day:

” 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.”

The way we run courses, I am worried that someone registering for a Level 1 course might not be able to register themselves for a Level 2 course.

Do you have any advice?

Thanks.


Tony

  • Support Staff

July 3, 2017 at 5:20 am

Hi Peter,

With the EE User integration add-on if the user is logged in they can’t add registrations for other users that already have accounts, we call this the user traffic cop feature.

Another user asked about disabling that feature and we have a filter available t do so posted here:

https://eventespresso.com/topic/allow-use-of-email-addresses-associated-with-user-accounts-without-signing-in/

You likely want the second function which disables the check for all users.


Peter

July 3, 2017 at 1:30 pm

OK cool.

I have inserted:

//* Disable email match check for all users
add_filter( ‘EED_WP_Users_SPCO__verify_user_access__perform_email_user_match_check’, ‘__return_false’ );

into the site plugin. I notice that the error still comes up though:

“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.”

Should I have entered more of that code from the other post?

Kindly.


Tony

  • Support Staff

July 3, 2017 at 3:05 pm

Hmm, no you shouldn’t.

So to confirm your adding that code to a custom functions plugin, not your themes functions.php file?


Peter

July 3, 2017 at 3:13 pm

That is correct. Is there a way I can link you to it?

Worth noting I saw in the other thread you linked to – they mention a toggle switch, but I haven’t toggled anything. All I have done so far is the addition of that line to the site custom plugin.

I didn’t touch the functions.php file.


Tony

  • Support Staff

July 3, 2017 at 3:18 pm

That is correct. Is there a way I can link you to it?

No, but as long as its within a plugin and that plugin is activated that’s fine.

Worth noting I saw in the other thread you linked to – they mention a toggle switch, but I haven’t toggled anything. All I have done so far is the addition of that line to the site custom plugin.

Do you mean ‘User sync option’?

That option is within Event Espresso -> Registration Form -> User Integration Settings and should look like this – http://take.ms/uCb7v


Peter

July 3, 2017 at 5:11 pm

OK cool thanks Tony.

I took a look at my settings page like in your Take.ms screenshot, and noticed that the only setting on the page I have different is the very first setting, “default setting for login required on registration”. I have mine set to No, because the way we run our page users don’t need to confirm accounts or anything… We just want to keep them organized together in the back as wordpress users. I didn’t want them getting emails about having to become a user or anything like that.

Sorry I’m still just new to this and am trying to learn as I go.

Thanks,
Peter


Tony

  • Support Staff

July 4, 2017 at 4:00 am

Hi Peter,

I took a look at my settings page like in your Take.ms screenshot, and noticed that the only setting on the page I have different is the very first setting, “default setting for login required on registration”. I have mine set to No, because the way we run our page users don’t need to confirm accounts or anything…

That option sets the default value used for any new events you create. If its set to Yes it means that users must be logged in to register.

So your only using the WP User Integration add-on to auto create users as they sign up to an event?

Just to note, EE doesn’t send any emails stating the user must become a user,. If the above is enabled it will not allow you to register with logging in or creating an account first but no emails.


Peter

July 4, 2017 at 12:12 pm

Correct, I was just using WP User Integration to auto create new users.

I have turned “default setting for login required on registration” to yes, but now when registering from a known email address that has registered already, I get the error message:

“An error has occurred:
You have entered an email address that matches an existing user account in our system. If this is your email address, please log in before continuing your registration. Otherwise, register with a different email address.”

Is there a way to make it so that the same user could use the same email address to sign up for multiple courses? We would prefer if they go through the checkout simply once for each individual student they sign up, and with the ability to do so for multiple courses. If it helps I can message you privately about what it is that our business is trying to do exactly with respect to the order in which they sign up for courses – you might have some alternate suggestions because you know EE4 a lot better than us.

Thanks.


Josh

  • Support Staff

July 4, 2017 at 12:32 pm

Hi Peter,

The error message can be avoided if you (or they) log in before registering for an event (if they already have an account). You can also avoid the error by adding the code from this gist:

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

to a functions plugin.


Peter

July 5, 2017 at 3:52 am

Thanks. I’ve added that code and it seems to be working great.

I’ll keep an eye on it and open a new thread if need be.

Again, thanks kindly!

Viewing 10 reply threads

The support post ‘System Error’ 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