Posted: December 4, 2023 at 10:46 am
We want to allow users to register for events whether or not they have an account in the system. Our user reports: “I am having a problem renewing my family membership for 2024. When I complete all the information, I am instructed to log in first as my email address is already in the system. So I log in and am then informed that I am recognized and all is good. But when I try to proceed to checkout, again I am told that I must log in first.” This action is a registration for an “event”. This is similar to two other items in the forum, but one doesn’t have the fix and the other requires modifying the code, which I’d rather not have to do. See https://eventespresso.com/topic/i-cannot-log-in-to-register-event/ and https://eventespresso.com/topic/ee4wp-user-integration-registering-users-with-existing-accts-fix-not-working/ Thank you! |
|
Hi Lisa, You need to add this code to the site: https://gist.github.com/joshfeck/1131145859a3fab58f4d#file-disable_email_match_everyone-php That single line of code on line 4 of the second snippet disabled the check for a user account. You can add that to a custom functions plugin on the site and we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ Note that you are not modifying EE’s code here, you are hooking in and changing how it functions. |
|
I did try on my site and i cannot reproduce the problem describe. Did you try to test it too? did you receive the same error? Can you send us the log-in you used or create new one for us. Can you also do some basic trouble shooting, such as checking theme/plugin conflict. You can use https://wordpress.org/plugins/health-check/ or any similar plugin. You can do the above using Troubleshooting mode: Tools -> Site Health -> Troubleshooting -> Enabled Troubleshooting mode. That will disable all plugins and switch to a default theme and then allow you to enable specific plugins in troubleshooting mode. Once disabled you will revert back to the current state. You can also check this documentation. https://eventespresso.com/wiki/troubleshooting-checklist/ Let me know what happen. thanks |
|
I followed the instructions for creating a sitewide plugin folder and file, pasted the code into it, and checked the permissions. I cannot see the plugin in the WordPress Admin Plugin list. |
|
Post the full content of your plugin file to PasteBin and then include the link here, I’ll take a look. |
|
It’s really short, so I can paste it right here: <?php |
|
You’re missing the code shown at the beginning of the snippet:
WordPress parses to show the name and description of the plugin in Dashboard -> Plugins.
|
|
Ah! Thank you so much – that did the trick. I was thinking those were comments, but of course they weren’t. All is working now. 🙂 |
|
The support post ‘User unable to register without logging in if user account exits in system’ 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.