Posted: January 15, 2020 at 12:22 pm
|
Working on moving our site, currently in testing and unable to register for events. Steps to reproduce: 1. Visit events page, shows list of events Site redirects to checkout with the following message: “You need to select at least one event before you can proceed with the registration process.” Unable to diagnose further, as no errors or logs are present. Thank you for the help! |
May I ask can you share the URL of the page where this is happening so we can investigate? |
|
|
Absolutely: |
The reason for the error is because of caching. The website is hosted on WPEngine, which has a unique caching system. You’ll need to contact WPEngine support and ask them to set up cache exclusions for the events, registration-checkout, and thank-you pages. You’ll find more information here; https://eventespresso.com/wiki/setup-wpengine-hosting-event-espresso/ |
|
|
Thank you Josh! I’ll do that now, and let you know if anything comes up. |
|
Now able to get to the registration form. Are there other settings for WPEngine that i’m not aware of? This error is ending up in the logs when trying to submit: PHP Fatal error: Uncaught Error: Class ‘GuzzleHttp\\Client’ not found in /{REDACTED_PATH}/wp-content/themes/theme/app/event_actions.php:18\nStack trace:\n#0 /{REDACTED_PATH}/wp-includes/class-wp-hook.php(286): |
|
In speaking with WPEngine staff, they seem unsure what “Guzzle/Http” is, do any docs or variants exist for EE to use something else? |
Event Espresso doesn’t use a GuzzleHttp\\Client class, that’s something your WordPress theme apparently uses. Do you see the error message points to: wp-content/themes/theme/app/event_actions.php:18 It sounds like the theme’s file is loading but the required class it uses hasn’t loaded yet. The theme may need to be fixed so it either a) doesn’t load the event_actions.php on all requests or b) make sure the required class also loads before trying to use it. |
|
|
Thank you for the help, turns out there was a custom trigger. Appreciate you helping me to get this working. |
The support post ‘Dev Site, EE will not allow registration to events’ 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.