Home › Forums › ACF PRO › Syncing ACF JSON between similar but diverged sites › Reply To: Syncing ACF JSON between similar but diverged sites
If you sync the groups the site will break because the field keys do not match. This is highly dependent on the type of field in question though. If the fields are for simple text values then you should be okay, this is basically the fields listed under “Basic”
If you don’t have a lot of content the issue can be fixed by editing every post that uses this component in the admin. In the admin edit ACF will be able to find and populate the values correctly. Then you update and acf will swap the field keys.
You can also do a find and replace in the postmeta table in the db by finding all occurrences of the incorrect field key in meta_value and replacing it with the correct field key.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.