Fatal error: Uncaught Error: Call to a member function is_main_query() on null in /var/www/oelsted-bryglaug.dk/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php:264 Stack trace: #0 /var/www/oelsted-bryglaug.dk/public_html/wp-includes/class-wp-hook.php(298): Theme_My_Login->pre_get_posts(Object(WP_Query)) #1 /var/www/oelsted-bryglaug.dk/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /var/www/oelsted-bryglaug.dk/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /var/www/oelsted-bryglaug.dk/public_html/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /var/www/oelsted-bryglaug.dk/public_html/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /var/www/oelsted-bryglaug.dk/public_html/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /var/www/oelsted-bryglaug.dk/public_html/wp-includes/class-wp.php(735): WP->query_posts() #7 /var/www/oelsted-bryglaug.dk/public_html/wp-includes/functions in /var/www/oelsted-bryglaug.dk/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php on line 264