ap.html_sitemap_seo_titles' ) !== 'seo_titles' ) { return $author->display_name; } // Custom SEO title. $meta = get_user_meta( $author->ID, 'rank_math_title', true ); if ( ! empty( $meta ) ) { return Helper::replace_vars( $meta, $author ); } // Default SEO title from the global settings. $template = Helper::get_settings( 'titles.pt_author_title' ); if ( ! empty( $template ) ) { return Helper::replace_vars( $template, $author ); } // Fallback to author name. return $author->display_name; } }
Fatal error: Uncaught Error: Class "RankMath\Sitemap\Html\Authors" not found in /htdocs/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/html-sitemap/class-sitemap.php:53 Stack trace: #0 /htdocs/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-sitemap.php(54): RankMath\Sitemap\Html\Sitemap->__construct() #1 /htdocs/wp-content/plugins/seo-by-rank-math/includes/module/class-manager.php(487): RankMath\Sitemap\Sitemap->__construct() #2 /htdocs/wp-content/plugins/seo-by-rank-math/includes/module/class-manager.php(467): RankMath\Module\Manager->load_module('sitemap', Object(RankMath\Module\Module)) #3 /htdocs/wp-includes/class-wp-hook.php(324): RankMath\Module\Manager->load_modules('') #4 /htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /htdocs/wp-settings.php(559): do_action('plugins_loaded') #7 /htdocs/wp-config.php(108): require_once('/htdocs/wp-sett...') #8 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #9 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #10 /htdocs/index.php(17): require('/htdocs/wp-blog...') #11 {main} thrown in /htdocs/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/html-sitemap/class-sitemap.php on line 53