• Resolved vishwaupesh

    (@vishwaupesh)


    Below are the my site current version and status:

    WordPress version 5.9.3
    Current theme: CustomTheme(Built inhouse) (version 1.0.0)
    Current plugin: Yoast SEO (version 18.6)
    PHP version 7.4.28
    Site Status : Working

    Error Details
    =============
    An error of type E_ERROR was caused in line 102 of the file /CustomTheme/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 /CustomTheme/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php on line 198 and defined in /CustomTheme/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php:102
    
    Stack trace:
    #0 /CustomTheme/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, 1)
    #2 /CustomTheme/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php(127): array_walk(Array, Array)
    #3 /CustomTheme/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Integrations\W

    The main thing about this error is it occurs once in a while and i am not able to reproduce the same.

    I have already gone through one of the similar issues here but this does not help. Can you please look into this and help.

    Note: I already did the all the basic WordPress Debugging steps. Plugins, themes conflicts, etc. Not able to reproduce.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • @vishwaupesh We’re sorry to hear you are experiencing this issue on your site.

    The first thing we notice about this that might be causing the error is that the version of Yoast SEO is out of date, as the current version is 19.3.

    Can you please first confirm you are using the most recent version of Yoast SEO, version 19.3? You can learn more about updating here: How can I update my free plugin?

    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 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error : ndexable_Hierarchy_Builder::build()’ is closed to new replies.