Support

Home Forums Event Espresso Premium 502 Gateway Error with EE Fatal Error

502 Gateway Error with EE Fatal Error

Posted: September 13, 2023 at 1:38 pm


Amy

September 13, 2023 at 1:38 pm

My site was working fine this morning and now I’m getting a gateway error. The message is below. It looks like maybe the plugin thinks it’s maintenance mode. I didn’t make any changes to settings.

PHP Fatal error: Uncaught RuntimeException: Event Espresso Level 2 Maintenance mode is active. That means EE can not run ANY database queries until the necessary migration scripts have run which will take EE out of maintenance mode level 2. Please inform support of this error. in /nas/content/live/aandk/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Base.model.php:2421\nStack trace:\n#0 /nas/content/live/aandk/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Base.model.php(1062): EEM_Base->_do_wpdb_query(‘get_results’, Array)\n#1 /nas/content/live/aandk/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Base.model.php(1111): EEM_Base->_get_all_wpdb_results(Array, ‘ARRAY_A’, NULL)\n#2 /nas/content/live/aandk/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Term.model.php(172): EEM_Base->get_all_wpdb_results(Array)\n#3 /nas/content/live/aandk/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php(217): EEM_Term->get_post_tag_for_event_or_venue(‘aaron-hickey’)\n#4 /nas/content/live/aandk/wp-content/plugins/event-espresso-core-reg/core/CPTs/EE_CPT_Strategy.core.php(159): EE_CPT_Strategy->_set_post_type_for_terms(Object(WP_Query))\n#5 /nas/content/live/aandk/wp-includes/class-wp-hook.php(310): EE_CPT_Strategy->pre_get_posts(Object(WP_Query))\n#6 /nas/content/live/aandk/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)\n#7 /nas/content/live/aandk/wp-includes/plugin.php(565): WP_Hook->do_action(Array)\n#8 /nas/content/live/aandk/wp-includes/class-wp-query.php(1881): do_action_ref_array(‘pre_get_posts’, Array)\n#9 /nas/content/live/aandk/wp-includes/class-wp-query.php(3800): WP_Query->get_posts()\n#10 /nas/content/live/aandk/wp-includes/class-wp.php(662): WP_Query->query(Array)\n#11 /nas/content/live/aandk/wp-includes/class-wp.php(782): WP->query_posts()\n#12 /nas/content/live/aandk/wp-includes/functions.php(1335): WP->main(”)\n#13 /nas/content/live/aandk/wp-blog-header.php(16): wp()\n#14 /nas/content/live/aandk/index.php(17): require(‘/nas/content/li…’)\n#15 {main}\n thrown in /nas/content/live/aandk/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Base.model.php on line 2421


Tony

  • Support Staff

September 13, 2023 at 3:30 pm

Hi there,

So are you able to log into the admin?

For Event Espresso to be in ‘full’ maintenance mode it would normally mean it has been updated, did you run updates on the site?


Garth

  • Support Staff

September 13, 2023 at 3:33 pm

What site is this error happening on?

A 502 gateway error usually means the server is down, not necessarily running into any error from code or conflicts.

The support post ‘502 Gateway Error with EE Fatal Error’ 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