Support

Home Forums Event Espresso Premium Error on email field when the email is correct

Error on email field when the email is correct

Posted: January 21, 2020 at 4:46 pm


LarnieBee

January 21, 2020 at 4:46 pm

Hey there, I am having issues on my site with the event espresso email field.

When I try to proceeed to final registration, the command stops, i scroll up to see whats wrong and 2 email address fields are highlighted in red, indicating theres an issue with the address, but there is nothing wrong with the info. Please see screen shot attached: https://pasteboard.co/IR3UFkI.jpg

I have used basic settings for the email field. I CANNOT proceed??? help?


Tony

  • Support Staff

January 21, 2020 at 5:18 pm

Hi there,

The reason you can’t proceed is due to that email address already being linked to a user on your site and that user is not logged in.

Usually, you’d see an error message like this – https://monosnap.com/file/gv7HzZChFygLBqzWoCS2H3XbGwqh3j

However, on your site you have some CSS setting that to display none:

https://monosnap.com/file/nqkPmxtJc2rUjFzBe5hFyqpz5BzkQU

.highlight-bg is a contextual class used to hightlight the background of an element, setting that to display:none is going to hide elements you need to see, like now, so I recommend removing that form your custom CSS.


LarnieBee

January 21, 2020 at 5:22 pm

This reply has been marked as private.


Tony

  • Support Staff

January 21, 2020 at 5:26 pm

Ok, so you no longer user the ‘My events’ section and link registrations to user?

If not you can simply de-activate the WP user integration add-on on the site.

Dashboard -> Plugins -> Event Espresso – WP Users (EE4.6+)

De-activate that add-on to remove the above ’email check’ functionality.

You can then take registrations as normal but they will NOT be linked to user accounts.

Is that what you are looking for?


LarnieBee

January 21, 2020 at 5:27 pm

Well not really. I still need user accounts for volunteers. Volunteers are required to be logged in. It’s only the general public that make bookings that do not need accounts.


Tony

  • Support Staff

January 21, 2020 at 5:30 pm

Are those volunteers logging into the admin or are they adding registrations on the front end?

The Event Espresso – WP Users (EE4.6+) add-on has nothing to do with users if they log into the admin, it simply links registrations made on the front end of the site to a user account based on the registration form values (and provides a means to output those registrations to user).

May I ask what you are using the Event Espresso – WP Users (EE4.6+) add-on for with those volunteers?


LarnieBee

January 21, 2020 at 5:34 pm

They are registered using this form: https://fishability.org.au/volunteer-registration/

Its a gravity form, not associated with EE I don’t think. So does that mean the user add on plugin is not required?


Tony

  • Support Staff

January 21, 2020 at 5:38 pm

Unless you’ve had some custom development to link the gravity form with the add-on then it won’t have anything to do with it.

I can’t say 100% as I don’t know any of the history with your site, but out of the box the add-on will have nothing to do with that form.

So does that mean the user add on plugin is not required?

Same disclaimer as above here but by default, the WP users add-on only works on the EE registration form, it provides the functionality you are asking to have disabled so I would say you can disable it.


LarnieBee

January 21, 2020 at 5:43 pm

Ok, that’s good intel, thank you. So disabling that plugin will not affect the requirement of a user type to book certain tickets?

I really appreciate your help. This has been super helpful


Tony

  • Support Staff

January 21, 2020 at 5:52 pm

So disabling that plugin will not affect the requirement of a user type to book certain tickets?

Sorry, yes it will.

Requiring a user type for a ticket requires the user is logged in, anything concerning a requirement for the user to be logged in to register on a ticket/event (using EE, not Gravift forms etc) is from that add-on.

Just to clarify, do you mean this section? – https://monosnap.com/file/W06REq9aQogZfPFydzkxHoGjlcbX7q


LarnieBee

January 21, 2020 at 5:59 pm

Thats the one. Unfortunately I need the functionality to limit bookings of volunteer tickets. Would a workaround be to just delete the user accounts of anyone who is not admin or volunteer? Or will this then delete their bookings? Bearing in mind, most of them have not used an account to book for sometime..


Tony

  • Support Staff

January 21, 2020 at 6:14 pm

I don’t advise deleting them if you need to keep registrations.

Instead, you can disable the above functionality:

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

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

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

That will disable the email match check and allow you to keep the other functionality.

The support post ‘Error on email field when the email is correct’ 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