Fatal Error : ndexable_Hierarchy_Builder::build()
-
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 : WorkingError 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\WThe 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]
The topic ‘Fatal Error : ndexable_Hierarchy_Builder::build()’ is closed to new replies.