• Resolved SGURYGF

    (@sgurygf)


    Hi,

    After updating to the latest version I get the following error when on SOME of the pages of my website (not all of them).

    Argument 1 passed to WPSEO_Admin_Bar_Menu::get_post_score() must be an instance of WP_Post, instance of stdClass given,
    called in /var/www/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php
    on line 144 in /var/www/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php on line 482

    Running WP 4.9.8 and PHP 7.2 if it matters.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I have the same problem as of the update I did today.

    Thread Starter SGURYGF

    (@sgurygf)

    I have temporarily disabled the Front-End Admin Bar until a fix is released…

    Plugin Support devnihil

    (@devnihil)

    That sounds like a plugin or theme conflict. Can you try and gather as much information for us as possible? Please perform the following:

    1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
    2. Check for conflicts.
    3. Check for JavaScript errors with your console.

    If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

    Thanks for reporting! The fix for this issue is scheduled to be released with 8.1, see the issue on GitHub for further details.

    Thread Starter SGURYGF

    (@sgurygf)

    Thanks ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Exception after updating to v8’ is closed to new replies.