Title: [Plugin: Advanced Custom Fields] Error after migration
Last modified: August 20, 2016

---

# [Plugin: Advanced Custom Fields] Error after migration

 *  Resolved [jknetdesign](https://wordpress.org/support/users/jknetdesign/)
 * (@jknetdesign)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-error-after-migration/)
 * [http://elcaminorealfutbol.org/](http://elcaminorealfutbol.org/)
 * The host is not being very helpful after they migrated the site from a dev folder
   to the live doamin. Now I get an error that I think is in the sql. Please help.
 * Warning: Missing argument 2 for add_filter(), called in /hermes/bosweb/web296/
   b2969/ipw.caminorealfutbol/demo/wp-content/themes/elcaminoreal/functions.php 
   on line 38 and defined in /hermes/bosweb/web296/b2969/ipw.caminorealfutbol/demo/
   wp-includes/plugin.php on line 65
 * [http://wordpress.org/extend/plugins/advanced-custom-fields/](http://wordpress.org/extend/plugins/advanced-custom-fields/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [jknetdesign](https://wordpress.org/support/users/jknetdesign/)
 * (@jknetdesign)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-error-after-migration/#post-2799723)
 * I got it. I had to comment out the line in the functions file from a snippet 
   of code I found online that adds the featured image to a post which has nothing
   to do with the custom post type.
 * Answered my own question again.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Advanced Custom Fields] Error after migration’ is closed to 
new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * ["hermes"](https://wordpress.org/support/topic-tag/hermes/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [post-type](https://wordpress.org/support/topic-tag/post-type/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * 1 reply
 * 1 participant
 * Last reply from: [jknetdesign](https://wordpress.org/support/users/jknetdesign/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-advanced-custom-fields-error-after-migration/#post-2799723)
 * Status: resolved