Fatal error: Uncaught Error: Call to a member function is_main_query() on null in /home/ubuntulife/public_html/onlineold/wp-content/plugins/the-events-calendar/common/src/Tribe/Context/locations.php:50 Stack trace: #0 /home/ubuntulife/public_html/onlineold/wp-content/plugins/the-events-calendar/common/src/Tribe/Context.php(820): Tribe__Context::{closure}() #1 /home/ubuntulife/public_html/onlineold/wp-content/plugins/the-events-calendar/common/src/Tribe/Context.php(386): Tribe__Context->func(Array, false) #2 /home/ubuntulife/public_html/onlineold/wp-content/plugins/the-events-calendar/common/src/Tribe/Context.php(1524): Tribe__Context->get('is_main_query', false) #3 /home/ubuntulife/public_html/onlineold/wp-content/plugins/the-events-calendar/src/Tribe/Query.php(35): Tribe__Context->is('is_main_query') #4 /home/ubuntulife/public_html/onlineold/wp-includes/class-wp-hook.php(307): Tribe__Events__Query::parse_query(Object(WP_Query)) #5 /home/ubuntulife/public_html/onlineold/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #6 /home/ubuntulife/public_html/onlineold/wp-includes/plugin.php(524): WP_Hook->do_action(Array) #7 /home/ubuntulife/public_html/onlineold/wp-includes/class-wp-query.php(1112): do_action_ref_array('parse_query', Array) #8 /home/ubuntulife/public_html/onlineold/wp-includes/class-wp-query.php(1805): WP_Query->parse_query() #9 /home/ubuntulife/public_html/onlineold/wp-includes/class-wp-query.php(3613): WP_Query->get_posts() #10 /home/ubuntulife/public_html/onlineold/wp-includes/post.php(2410): WP_Query->query(Array) #11 /home/ubuntulife/public_html/onlineold/wp-content/plugins/memberpress/app/lib/MeprCptModel.php(152): get_posts(Array) #12 /home/ubuntulife/public_html/onlineold/wp-content/plugins/memberpress/app/controllers/MeprRemindersCtrl.php(56): MeprCptModel::all('MeprReminder') #13 /home/ubuntulife/public_html/onlineold/wp-includes/class-wp-hook.php(307): MeprRemindersCtrl->schedule_reminders('') #14 /home/ubuntulife/public_html/onlineold/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #15 /home/ubuntulife/public_html/onlineold/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #16 /home/ubuntulife/public_html/onlineold/wp-settings.php(461): do_action('plugins_loaded') #17 /home/ubuntulife/public_html/onlineold/wp-config.php(186): require_once('/home/ubuntulif...') #18 /home/ubuntulife/public_html/onlineold/wp-load.php(50): require_once('/home/ubuntulif...') #19 /home/ubuntulife/public_html/onlineold/wp-blog-header.php(13): require_once('/home/ubuntulif...') #20 /home/ubuntulife/public_html/onlineold/index.php(17): require('/home/ubuntulif...') #21 {main} thrown in /home/ubuntulife/public_html/onlineold/wp-content/plugins/the-events-calendar/common/src/Tribe/Context/locations.php on line 50