Home Forums Event Espresso Premium Ticket Capability Requirement Reply To: Ticket Capability Requirement

Reply To: Ticket Capability Requirement

Author Replies
Tony # Posted on May 3, 2018 at 5:16 am

Hmm, that’s strange.

Ok, so starting from the beginning is there any possibility that these users already had a user account (based on the email address) in your WP Users?

EE checks for existing user accounts and exits if it finds one, I know this sounds like a basic question but its really strange to get to the point in the code that adds a user and it does not have the role updated, even more so for ‘some’ registrants to experience this and not others.

If you check one of the accounts this happened to you should see:

Registered via event registration form

within the Bio of the user profile if EE created that user –

The user integration add-on has actions fired when either a user is created:


or updated:


I can give you some code that runs on both of those hooks, checks the user’s current role and the role set on the event and updates it if needed… but it as mentioned it would be really strange to get to that point without the role being set in the first place so I think there is something else at play here, just no idea what right now.

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