Support

Home Forums Event Espresso Premium Dev Site, EE will not allow registration to events

Dev Site, EE will not allow registration to events

Posted: January 15, 2020 at 12:22 pm


Polaris MEP

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
2. Click “Save a Seat”
3. Set a quantity of greater than zero (0)
4. Tap “Register Now”

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!


Josh

  • Support Staff

January 15, 2020 at 12:52 pm

May I ask can you share the URL of the page where this is happening so we can investigate?


Polaris MEP

January 15, 2020 at 1:24 pm

Absolutely:

https://polarismep19.wpengine.com/events/


Josh

  • Support Staff

January 15, 2020 at 1:41 pm

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/


Polaris MEP

January 15, 2020 at 1:45 pm

Thank you Josh! I’ll do that now, and let you know if anything comes up.


Polaris MEP

January 15, 2020 at 2:19 pm

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):
App\\fire_registration_action(Object(EE_Registration), Array)\n#1 /{REDACTED_PATH}/wp-includes/class-wp-hook.php(310):
WP_Hook->apply_filters(NULL, Array)\n#2 /{REDACTED_PATH}/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#3 /{REDACTED_PATH}/wp-content/plugins/event-espresso-core-reg/core/business/EE_Registration_Processor.class.php(469): do_action(‘AHEE__EE_Regist…’, Object(EE_Registration), Array)\n#4 /{REDACTED_PATH}9/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/reg_steps/finalize_registration/EE_SPCO_Reg_Step_Finalize_Registration.class.php(85): EE_Registration_Processor->trigger_registration_update_notifications(Object(EE_Registration), Array)\n#5 /{REDACTED_PATH}/wp-content/plugins/e in /{REDACTED_PATH}/wp-content/plugins/query-monitor/collectors/php_errors.php on line 82


Polaris MEP

January 15, 2020 at 2:26 pm

In speaking with WPEngine staff, they seem unsure what “Guzzle/Http” is, do any docs or variants exist for EE to use something else?


Josh

  • Support Staff

January 15, 2020 at 2:48 pm

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.


Polaris MEP

January 15, 2020 at 7:10 pm

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Polaris MEP 6 months, 3 weeks ago ago

Topic Tags

Tagged: 

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!