Fatal error: Uncaught Error: Call to a member function is_main_query() on null in /home1/thechatt/public_html/thefuneralcarer/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php:264 Stack trace: #0 /home1/thechatt/public_html/thefuneralcarer/wp-includes/class-wp-hook.php(298): Theme_My_Login->pre_get_posts(Object(WP_Query)) #1 /home1/thechatt/public_html/thefuneralcarer/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /home1/thechatt/public_html/thefuneralcarer/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home1/thechatt/public_html/thefuneralcarer/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /home1/thechatt/public_html/thefuneralcarer/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /home1/thechatt/public_html/thefuneralcarer/wp-includes/class-wp-query.php(3347): WP_Query->query(Array) #6 /home1/thechatt/public_html/thefuneralcarer/wp-includes/rewrite.php(591): WP_Query->__construct(Array) #7 /home1/thechatt/public_ in /home1/thechatt/public_html/thefuneralcarer/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php on line 264