Fatal error when saving menu
-
I’m getting following error when activated Yoast SEO and trying to save menu, when deactivate, everything works fine.
Fatal error: Uncaught TypeError: Argument 1 passed to Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder::is_invalid_ancestor() must be an instance of Yoast\WP\SEO\Models\Indexable, bool given, called in /home/zimnucom/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 176 and defined in /home/zimnucom/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php:340 Stack trace: #0 /home/zimnucom/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php(176): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->is_invalid_ancestor(false, 659, Array) #1 /home/zimnucom/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php(182): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->add_ancestors_for_post(659, 300, Array) #2 /home/zimnucom/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php(112): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->add_an in /home/zimnucom/public_html/wp-content/plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php on line 340
- The topic ‘Fatal error when saving menu’ is closed to new replies.