Fatal error: Uncaught Error: Call to a member function is_main_query() on null in /homepages/27/d836356520/htdocs/app836356597/wp-content/plugins/the-events-calendar/common/src/Tribe/Context/locations.php:50
Stack trace:
#0 /homepages/27/d836356520/htdocs/app836356597/wp-content/plugins/the-events-calendar/common/src/Tribe/Context.php(820): Tribe__Context::{closure}()
#1 /homepages/27/d836356520/htdocs/app836356597/wp-content/plugins/the-events-calendar/common/src/Tribe/Context.php(386): Tribe__Context->func(Array, false)
#2 /homepages/27/d836356520/htdocs/app836356597/wp-content/plugins/the-events-calendar/common/src/Tribe/Context.php(1524): Tribe__Context->get('is_main_query', false)
#3 /homepages/27/d836356520/htdocs/app836356597/wp-content/plugins/the-events-calendar/src/Tribe/Query.php(35): Tribe__Context->is('is_main_query')
#4 /homepages/27/d836356520/htdocs/app836356597/wp-includes/class-wp-hook.php(308): Tribe__Events__Query::parse_query(Object(WP_Query))
#5 /homepages/27/d836356520/htdocs/app836356597/wp-include in /homepages/27/d836356520/htdocs/app836356597/wp-content/plugins/the-events-calendar/common/src/Tribe/Context/locations.php on line 50