Multiple Websites Crashing after update
-
After updating to the latest TEC, several of my websites hard crashed, throwing PHP fatal errors. The home pages won’t even come up, just an error box with: “There has been a critical error on this website.”
The following error is in the event logs:
[06-Sep-2022 19:42:26 UTC] PHP Fatal error: Uncaught Error: Call to a member function is_main_query() on null in /wp-content/plugins/event-tickets/common/src/Tribe/Context/locations.php:50 Stack trace: #0 /wp-content/plugins/event-tickets/common/src/Tribe/Context.php(820): Tribe__Context::{closure}() #1 /wp-content/plugins/event-tickets/common/src/Tribe/Context.php(386): Tribe__Context->func(Array, false) #2 /wp-content/plugins/event-tickets/common/src/Tribe/Context.php(1524): Tribe__Context->get('is_main_query', false) #3 /wp-content/plugins/the-events-calendar/src/Tribe/Query.php(35): Tribe__Context->is('is_main_query') #4 /wp-includes/class-wp-hook.php(307): Tribe__Events__Query::parse_query(Object(WP_Query)) #5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #6 /wp-includes/plugin.php(524): WP_Hook->do_action(Array) #7 in /wp-content/plugins/event-tickets/common/src/Tribe/Context/locations.php on line 50
Disabling the WooCommerce Memberships plugin lets the site come up, so there’s something conflicting there. Everything worked fine before this update. I had to roll back to yesterdays backup to fix everything.
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Multiple Websites Crashing after update’ is closed to new replies.