• Resolved jel3msg

    (@jel3msg)


    Getting this error in the logs:

    PHP Fatal error:  Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, bool given in example.com/wp-content/plugins/wordpress-seo/src/integrations/front-end/feed-improvements.php:147
    Stack trace:
    #0 example.com/wp-content/plugins/wordpress-seo/src/integrations/front-end/feed-improvements.php(107): Yoast\WP\SEO\Integrations\Front_End\Feed_Improvements->get_url_for_queried_object('https://blog.se...')
    #1 example.com/wp-includes/class-wp-hook.php(326): Yoast\WP\SEO\Integrations\Front_End\Feed_Improvements->send_canonical_header(false)
    #2 example.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #3 example.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 example.com/wp-includes/functions.php(1632): do_action('do_feed_rss2', false, 'rss2')
    #5 example.com/wp-includes/template-loader.php(48): do_feed()
    #6 example.com/wp-blog-header.php(19): require_once('example.com/s...')
    #7 example.com/index.php(17): require('example.com/s...')
    #8 {main}
      thrown in example.com/wp-content/plugins/wordpress-seo/src/integrations/front-end/feed-improvements.php on line 147
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @jel3msg,

    Thanks for reaching out about the errors you found in your log relating to the Yoast SEO plugin. Can you confirm you are running v22.1 and what’s your PHP version?

    Also, are you seeing anything in your WP Admin and on the front end of your site that indicates something is wrong? If you are, can you please provide us with a screenshot and/or describe the issue?

    Thread Starter jel3msg

    (@jel3msg)

    Sure thing, PHP is version 8.2.9, the plugin version is 22.1, and we have not had any reports about issues on the frontend of our sites.

    Plugin Support Maybellyne

    (@maybellyne)

    Please update to v22.2. If you continue to see the errors in your log, you could consider performing a conflict check. If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide to walk you through the process: How to check for plugin conflicts.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught TypeError Fatal Error feed-improvements.php on line 147’ is closed to new replies.