Title: Yoast error when adding post
Last modified: February 6, 2017

---

# Yoast error when adding post

 *  Resolved [aoimacollamain](https://wordpress.org/support/users/aoimacollamain/)
 * (@aoimacollamain)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/yoast-error-when-adding-post/)
 * Hi
    I recently moved the site ihbc.hu from a hostgator account to my account.
   Since the move I can’t add posts
 * When I try to add a post I get this error:
 * Warning: Invalid argument supplied for foreach() in /home/sjitcons/public_html/
   ihbc.hu/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php on line
   1056
 * It appears to be a problem with the Yoast plugin. Any ideas as to what could 
   be causing this?
    Thanks Ai Thanks Ai

Viewing 1 replies (of 1 total)

 *  [benvaassen](https://wordpress.org/support/users/benvaassen/)
 * (@benvaassen)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/yoast-error-when-adding-post/#post-9272508)
 * Hi,
 * We’re working on cleaning up these Yoast SEO support forums. Since your thread
   hasn’t had any activity in a very long time, we’ve marked it as resolved.
 * Of course, you’re always welcome to open a new topic. We kindly ask you to read
   [this post](https://wordpress.org/support/topic/read-this-before-your-post/) 
   before doing so.
 * Thanks for understanding!

Viewing 1 replies (of 1 total)

The topic ‘Yoast error when adding 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/)

## Tags

 * [add post](https://wordpress.org/support/topic-tag/add-post/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 1 reply
 * 2 participants
 * Last reply from: [benvaassen](https://wordpress.org/support/users/benvaassen/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/yoast-error-when-adding-post/#post-9272508)
 * Status: resolved