• Resolved isarisar

    (@isarisar)


    Since a recent update, our log is getting spammed with these four lines on repeat:

    [26-Jul-2022 22:33:53 UTC] PHP Warning:  Undefined property: WP_Error::$taxonomy in /srv/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 151
    [26-Jul-2022 22:33:53 UTC] PHP Warning:  Undefined property: WP_Error::$taxonomy in /srv/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 210
    [26-Jul-2022 22:33:53 UTC] PHP Warning:  Undefined property: WP_Error::$taxonomy in /srv/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 176
    [26-Jul-2022 22:33:53 UTC] PHP Warning:  Undefined property: WP_Error::$taxonomy in /srv/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 182

    Please fix, it’s annoying.

    PHP 8.0.21
    WP 6.0.1
    WC 6.7.0
    Yoast 19.4

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter isarisar

    (@isarisar)

    Is there no way to at least print which taxonomy is causing this issue?

    It seems highly advisable to add a check to at least the first occurrence that prints info about such problematic $this->source, rather than leave the user to guess.

    Plugin Support devnihil

    (@devnihil)

    @isarisar We’re sorry to hear you are experiencing this issue on your site.

    We have seen unexpected issues where the previously optimized data is invalid or incomplete. We’ll start with a reset of the optimization to ensure we’ve removed any invalid data. Let’s cover a few important things to be aware of beforehand.

    First, we would understand if you were hesitant to reset the optimized data. We can assure you that your hard work will not be lost as the default WordPress tables also contain the SEO data. This process will only reset the custom Yoast tables with the combined data pulled from those default tables.

    Second, we recommend creating regular backups of your site and database for your site’s health and safety. Backups are especially important before making substantial changes to your website. It provides you with a safety net if something were to go wrong. Learn more about?the benefits of regular backups.

    Thirdly, we highly recommend using a staging or testing site to reduce the impact on your live site. Some popular web hosts offer quick setups for a staging site, so please contact your web host for assistance. They will probably be able to help you out. If your web host does not offer staging sites, the WordPress plugin repository offers?staging plugins, or you can?create your own staging site.

    As for resetting the indexables, our?How to reset the Yoast indexables?guide will walk you through the process step by step. We’ve also summarized the steps below.

      1. Install & activate the?Yoast Test Helper plugin
      2. Go to Tools > Yoast Test
      3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that the specific reset was successful.
      4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.
    Thread Starter isarisar

    (@isarisar)

    Hi @devnihil,

    thank your for your reply. I actually already did just what you suggested (except for the three resets, I just ran that for “indexables tables & migrations”.

    Since then the issue has indeed gone away.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined property: WP_Error::$taxonomy’ is closed to new replies.