Warning: Undefined variable $pub in /code/wp-content/themes/ampersand-child/functions.php on line 3007 Warning: Attempt to read property "name" on null in /code/wp-content/themes/ampersand-child/functions.php on line 3007 Warning: Undefined variable $pub in /code/wp-content/themes/ampersand-child/functions.php on line 3008 Fatal error: Uncaught Error: Call to a member function opt() on null in /code/wp-content/themes/ampersand-child/functions.php:3008 Stack trace: #0 /code/wp-includes/class-wp-hook.php(308): custom_wp_title('Subprime News A...', Object(Yoast\WP\SEO\Presentations\Indexable_Post_Type_Archive_Presentation)) #1 /code/wp-includes/plugin.php(205): WP_Hook->apply_filters('Subprime News A...', Array) #2 /code/wp-content/plugins/wordpress-seo/src/presenters/title-presenter.php(76): apply_filters('wpseo_title', 'Subprime News A...', Object(Yoast\WP\SEO\Presentations\Indexable_Post_Type_Archive_Presentation)) #3 /code/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Presenters\Title_Presenter->get_title('') #4 /code/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) #5 /code/wp-includes/general-template.php(1168): apply_filters('pre_get_documen...', '') #6 /code/wp-content/plugins/wordpress-seo/src/presenters/title-presenter.php(41): wp_get_document_title() #7 /code/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(259): Yoast\WP\SEO\Presenters\Title_Presenter->get() #8 /code/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->filter_title('') #9 /code/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) #10 /code/wp-includes/general-template.php(1168): apply_filters('pre_get_documen...', '') #11 /code/wp-content/plugins/wordpress-seo/src/presenters/title-presenter.php(41): wp_get_document_title() #12 /code/wp-content/plugins/wordpress-seo/src/presenters/title-presenter.php(52): Yoast\WP\SEO\Presenters\Title_Presenter->get() #13 /code/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(326): Yoast\WP\SEO\Presenters\Title_Presenter->present() #14 /code/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head('') #15 /code/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #16 /code/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #17 /code/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(300): do_action('wpseo_head') #18 /code/wp-includes/class-wp-hook.php(308): Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head('') #19 /code/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #20 /code/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #21 /code/wp-includes/general-template.php(3043): do_action('wp_head') #22 /code/wp-content/themes/ampersand-child/header.php(29): wp_head() #23 /code/wp-includes/template.php(783): require_once('/code/wp-conten...') #24 /code/wp-includes/template.php(718): load_template('/code/wp-conten...', true, Array) #25 /code/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #26 /code/wp-content/themes/ampersand-child/archive-AR-publications.php(1): get_header() #27 /code/wp-includes/template-loader.php(106): include('/code/wp-conten...') #28 /code/wp-blog-header.php(19): require_once('/code/wp-includ...') #29 /code/index.php(17): require('/code/wp-blog-h...') #30 {main} thrown in /code/wp-content/themes/ampersand-child/functions.php on line 3008