Title: Error when saving the post
Last modified: May 27, 2022

---

# Error when saving the post

 *  Resolved [yurii2205](https://wordpress.org/support/users/yurii2205/)
 * (@yurii2205)
 * [4 years ago](https://wordpress.org/support/topic/error-when-saving-the-post/)
 * **Site [https://consultport.com/](https://consultport.com/) from time to time
   have erorr messages while we saving posts. Here is one of such messages.**
 * “Since WordPress 5.2 there is a built-in feature that detects when a
    plugin 
   or theme causes a fatal error on your site, and notifies you with this automated
   email.
 * In this case, WordPress caught an error with one of your plugins, Yoast SEO.
 * First, visit your website ([https://consultport.com/](https://consultport.com/))
   and check for any
    visible issues. Next, visit the page where the error was caught(
   [https://consultport.com/wp-admin/post.php?post=23402&action=trash&_wpnonce=312545e3ea](https://consultport.com/wp-admin/post.php?post=23402&action=trash&_wpnonce=312545e3ea))
   and check for any visible issues. …
 * When seeking help with this issue, you may be asked for some of the
    following
   information: WordPress version 5.9.3 Current theme: Avada Child (version 1.0.0)
   Current plugin: Yoast SEO (version 18.9) Yoast SEO Premium (version 18.4) PHP
   version 7.4.28
 * Error Details
    ============= An error of type E_ERROR was caused in line 102 
   of the file /home/wp/disk/wordpress/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/wp/
   disk/wordpress/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-
   ancestor-watcher.php on line 198 and defined in /home/wp/disk/wordpress/wp-content/
   plugins/wordpress-seo/src/builders/indexable-hierarchy-builder.php:102 Stack 
   trace: #0 /home/wp/disk/wordpress/wp-content/plugins/wordpress-seo/src/integrations/
   watchers/indexable-ancestor-watcher.php(198): Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder-
   >build() #1 [internal function]: Yoast\WP\SEO\Integrations\Watchers\Indexable_Ancestor_Watcher-
   >update_hierarchy_and_permalink() #2 /home/wp/disk/wordpress/wp-content/plugins/
   wordpress-seo/src/integrations/watchers/indexable-ancestor-watcher.php(127): 
   array_walk() #3 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(307): Yoast\
   WP\SEO\Integrations\Watchers\Indexable_Ancestor_Watcher->reset_children() #4 /
   hom”
 * **Please let us know what’s the problem.
    Thanks. Regards, Yurii
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-saving-the-post%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years ago](https://wordpress.org/support/topic/error-when-saving-the-post/#post-15690278)
 * Hi [@yurii2205](https://wordpress.org/support/users/yurii2205/)
 * Upon checking your site, it looks like you have Yoast SEO Premium installed. 
   Do you have an active subscription? If so, please do contact us directly at **
   [support@yoast.com](https://wordpress.org/support/topic/error-when-saving-the-post/support@yoast.com?output_format=md)**
   for premium support and so we can address your concerns directly, as this forum
   is utilized for free users – [https://yoast.com/help/support/#premium](https://yoast.com/help/support/#premium)
 * Thanks!
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years ago](https://wordpress.org/support/topic/error-when-saving-the-post/#post-15713826)
 * 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 ‘Error when saving the post’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/error-when-saving-the-post/#post-15713826)
 * Status: resolved