Fatal error: Uncaught Error: Call to a member function get_query_params() on null in /var/www/html/wp-content/themes/seagal-editorial/inc/api/archive-endpoint.php:18 Stack trace: #0 /var/www/html/wp-content/themes/seagal-editorial/template-archive/t-archive.php(34): api_get_archive(NULL) #1 /var/www/html/wp-includes/template.php(690): require('/var/www/html/w...') #2 /var/www/html/wp-includes/template.php(647): load_template('/var/www/html/w...', false) #3 /var/www/html/wp-includes/general-template.php(167): locate_template(Array, true, false) #4 /var/www/html/wp-content/themes/seagal-editorial/archive.php(31): get_template_part('template-archiv...', '') #5 /var/www/html/wp-includes/template-loader.php(74): include('/var/www/html/w...') #6 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...') #7 /var/www/html/index.php(17): require('/var/www/html/w...') #8 {main} thrown in /var/www/html/wp-content/themes/seagal-editorial/inc/api/archive-endpoint.php on line 18