Fatal error: Uncaught Error: Call to a member function is_author() on null in /app/public/wp-content/plugins/wordpress-seo/src/helpers/current-page-helper.php:296
Stack trace:
#0 /app/public/wp-content/plugins/wordpress-seo/src/integrations/front-end/redirects.php(197): Yoast\WP\SEO\Helpers\Current_Page_Helper->is_author_archive()
#1 /app/public/wp-content/plugins/wordpress-seo/src/integrations/front-end/redirects.php(135): Yoast\WP\SEO\Integrations\Front_End\Redirects->need_archive_redirect()
#2 /app/public/wp-includes/class-wp-hook.php(341): Yoast\WP\SEO\Integrations\Front_End\Redirects->archive_redirect(Object(WP))
#3 /app/public/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#4 /app/public/wp-includes/plugin.php(570): WP_Hook->do_action(Array)
#5 /app/public/wp-includes/class-wp.php(838): do_action_ref_array('wp', Array)
#6 /app/public/wp-includes/functions.php(1343): WP->main('')
#7 /app/public/wp-blog-header.php(16): wp()
#8 /app/public/index.php(17): require('/app/public/wp-...')
#9 {main}
thrown in /app/public/wp-content/plugins/wordpress-seo/src/helpers/current-page-helper.php on line 296