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!
© 2022 Advanced Custom Fields.