• tbrooks

    (@timbr8ks)


    I’m getting the following Fatal Error from Yoast. My hosting company recommended that I deactivate the Yoast plugin (which I have) and contact Yoast. As I’m not a Premium account holder, I was sent here.

    This is the fatal error:
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “NOTICE: PHP message: PHP Fatal error: Uncaught Error: Class “WPSEO_Primary_Term” not found in /www/wp-content/plugins/wordpress-seo/src/integrations/primary-category.php:69″
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “Stack trace:”
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “#0 /www/wp-content/plugins/wordpress-seo/src/integrations/primary-category.php(51): Yoast\WP\SEO\Integrations\Primary_Category->get_primary_category(Object(WP_Post))”
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “#1 /wordpress/wp-includes/class-wp-hook.php(341): Yoast\WP\SEO\Integrations\Primary_Category->post_link_category(Object(WP_Term), Array, Object(WP_Post))”
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “#2 /wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(WP_Term), Array)”
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “#3 /wordpress/wp-includes/link-template.php(244): apply_filters(‘post_link_categ…’, Object(WP_Term), Array, Object(WP_Post))”
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “#4 /wordpress/wp-includes/link-template.php(27): get_permalink(Object(WP_Post))”
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “#5 /wordpress/wp-includes/widgets/class-wp-widget-recent-posts.php(122): the_permalink(39928)”
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “#6 /wordpress/wp-includes/class-wp-widget.php(394): WP_Widget_Recent_Posts->widget(Array, Array)”
    [03-Mar-2026 20:58:09] WARNING: child 16704 said into stderr: “#7 /wordpress/wp-includes…”

    • This topic was modified 1 month ago by tbrooks.

You must be logged in to reply to this topic.