Home › Forums › General Issues › Merged 3 field groups, all data fine, except repeater › Reply To: Merged 3 field groups, all data fine, except repeater
Not sure if you still need help with this but it may help anyone with the same issue.
The problem probably has something to do with the field_key values of the field.
On the back end this field_key doesn’t matter much. You can, for example, create a custom field using the same field name as some other plugin, or that has been entered into the standard WP custom field editor and ACF will get any existing value.
The front end works a bit differently when it comes to this in a lot of ways. For example, if you try to get a “repeater” field using get_field() that does not have the correct field_key set it in the DB the ACF will return a number that represents the number of rows because it does not know that the field is a repeater without that key. For more information you can see the field_key vs field_name section of this page http://www.advancedcustomfields.com/resources/get_field_object/
You could correct this without editing and saving every post if you did a search and replace in the database to change all the old field_key references with the new ones.
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!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.