• Resolved stfa76

    (@stfa76)


    Hi,

    Just to let you know that I see these lines appearing frequently in debug.log

    Wordpress: 5.7
    Yoast: 16.0.2

    [05-Apr-2021 07:17:08 UTC] PHP Notice:  Undefined property: WP_Error::$taxonomy in /xxx/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 176
    [05-Apr-2021 07:17:08 UTC] PHP Notice:  Undefined property: WP_Error::$taxonomy in /xxx/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 182
    [05-Apr-2021 07:17:08 UTC] PHP Notice:  Trying to get property 'taxonomy' of non-object in /xxx/wp-content/plugins/wordpress-seo/src/helpers/current-page-helper.php on line 470
    [05-Apr-2021 07:17:08 UTC] PHP Notice:  Undefined property: WP_Error::$taxonomy in /xxx/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 151
    [05-Apr-2021 07:17:08 UTC] PHP Notice:  Undefined property: WP_Error::$taxonomy in /xxx/wp-content/plugins/wordpress-seo/src/presentations/indexable-term-archive-presentation.php on line 210

    Thank you.

    Best regards,
    Stephane.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Suwash

    (@suascat_wp)

    @stfa76

    We are sorry to hear that you are noticing PHP errors recorded in debug log, and we’d be more than happy to investigate the matter further for you.

    We expect few more information about your setup. This might help us replicate the issue on our end:

    1. Are all your non-Yoast plugins and themes also updated?

    2. Does your server meet our plugin requirements?

    3. Clear all your caching from your theme, plugin, server, CDN like CloudFlare or browser. If you are not sure how to clear caching from theme/plugin please speak to those authors. If you want to clear cache from the server, please speak to your host provider.

    4. Reinstall the Yoast SEO plugin. [Note: Reinstall, deactivate Yoast SEO would not cause data loss ]

    Can you inform us of the results?

    • This reply was modified 3 years, 7 months ago by Suwash. Reason: typo
    Thread Starter stfa76

    (@stfa76)

    Hi,

    1. Are all your non-Yoast plugins and themes also updated?

    => Yes, all of them, WP core, WP themes and all WP Plugins are up-to-date.

    2. Does your server meet our plugin requirements?

    => Using Cloudways DigitalOcean hostings so I’m pretty sure their server meet all the requirements ??

    3. Clear all your caching from your theme, plugin, server, CDN like CloudFlare or browser. If you are not sure how to clear caching from theme/plugin please speak to those authors. If you want to clear cache from the server, please speak to your host provider.

    => Already cleared everything : CDN, WP Rocket cache.

    4. Reinstall the Yoast SEO plugin. [Note: Reinstall, deactivate Yoast SEO would not cause data loss ]

    => On a live website, not very safe right?

    Best regards,
    Stephane.

    Plugin Support Rumejan Barbarona

    (@onlyincebu)

    Hi Stephane,

    As for the 4th item, for your site’s health and safety, we recommend creating a backup before you perform it. Learn more about the benefits of regular backups.

    Another option is to create a staging site and perform the troubleshooting there. Staging sites allow you to do all the testing without impacting your live site. You can then apply the changes to the production site when all works as intended. Some popular web hosts offer quick setups for a staging site, so please contact your web host for assistance.

    Alternative options to set up a staging environment
    If your web host does not offer staging sites, the WordPress plugin repository offers staging plugins, or you can create your own staging site.`

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

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