Fatal error: Uncaught Error: Call to a member function get() on null in /customers/9/3/3/sommarogolf.se/httpd.www/wp-includes/query.php:28 Stack trace: #0 /customers/9/3/3/sommarogolf.se/httpd.www/wp-content/themes/Divi/includes/builder/functions.php(268): get_query_var('post_type') #1 /customers/9/3/3/sommarogolf.se/httpd.www/wp-includes/class-wp-hook.php(286): exclude_premade_layouts_library(Object(WP_Query)) #2 /customers/9/3/3/sommarogolf.se/httpd.www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /customers/9/3/3/sommarogolf.se/httpd.www/wp-includes/plugin.php(531): WP_Hook->do_action(Array) #4 /customers/9/3/3/sommarogolf.se/httpd.www/wp-includes/class-wp-query.php(1736): do_action_ref_array('pre_get_posts', Array) #5 /customers/9/3/3/sommarogolf.se/httpd.www/wp-includes/class-wp-query.php(3387): WP_Query->get_posts() #6 /customers/9/3/3/sommarogolf.se/httpd.www/wp-includes/class-wp-query.php(3496): WP_Query->query(Array) #7 /customers/9/3/3/sommarogolf.se/httpd.www/wp-content/plugins/pos in /customers/9/3/3/sommarogolf.se/httpd.www/wp-includes/query.php on line 28