Awesome, that explains the issue.
You will need to change one of the repeater’s keys, and make sure that any sub fields which have a parent value also update the key to match (may not be necessary in the output .json)
get_field() wont be able to find the field settings for the repeater field’s value, and won’t return a nice array of data. There are 2 solutions for this:
1. Edit all posts and re-save them. This will update the field reference for each value
2. Edit the DB
wp_postmeta and find/replace any occurrence of the field_key (found in meta_value column). This will also damage the other repeater field, so perhaps don’t do this method 🙂
Hope that helps.
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!