• Resolved Krissieg

    (@krissieg)


    Hi guys, Please can you help me work out why your free plugin caused an error on our site? WordPress sent me this:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.9
    Current theme: Salient Child (version )
    Current plugin: Yoast SEO (version 18.1) PHP version 7.4.27
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 102 of the file /home/livewell/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php. Error message: Uncaught TypeError: Argument 1 passed to Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder::build() must be an instance of Yoast\WP\SEO\Models\Indexable, bool given, called in /home/livewell/public_html/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php on line 198 and defined in /home/livewell/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php:102
    Stack trace:
    #0 /home/livewell/public_html/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php(198): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->build(false)
    #1 [internal function]: Yoast\WP\SEO\Integrations\Watchers\Indexable_Ancestor_Watcher->update_hierarchy_and_permalink(false, 0)
    #2 /home/livewell/public_html/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php(127): array_walk(Array, Array)
    #3 /home/livewell/public_html/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Integrations\Watchers\Indexable_An

    Thanks
    Krissie

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support devnihil

    (@devnihil)

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

    Can you please confirm you are using the most recent release of Yoast SEO version 18.2 and the current version of Salient version 14.0.5? You can learn more about updating here: https://yoast.com/help/how-can-i-update-my-free-plugin/

    Also, can you confirm you are using WordPress 5.9.1? You can check by clicking on the W in the top left and selecting About. If you need to update, please check with your host provider. Please know that if you are using an older version of WordPress Core you may experience unexpected behavior with Yoast. This guide explains more: https://yoast.com/why-we-dont-support-old-wordpress-versions/

    If you update to the most current version of WordPress and Yoast SEO, does this resolve the issue?

    If you have confirmed both WordPress, Yoast SEO, and all of your site’s other plugins and themes are up to date and the problem is still occurring, we would next recommend performing a conflict check. A plugin or theme conflict can sometimes cause functionality problems, errors, or unexpected behavior from the plugin. If you are unfamiliar with checking for conflicts, we have a step by step guide on how to check for conflicts available here: How to check for plugin conflicts.

    Test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin allows you to run a conflict check without affecting normal visitors to your site.

    Can you please confirm you have performed a complete conflict check by disabling other plugins, and resetting the theme to a default such as TwentyTwentyOne and let us know the results?

    If you do not feel comfortable to do this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.

    Thread Starter Krissieg

    (@krissieg)

    Hi there, thanks for your help. I’ve updated everything and will see if another error occurs. I see that Yoast has also updated, so hopefully this will solve it.

    Thank you

    Thread Starter Krissieg

    (@krissieg)

    Sorry I’ll close this thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error due to Yoast on website’ is closed to new replies.