When I create a new repeater field, and set up the repeater’s subfields, they disappear when I save the ACF page. I then have to set up the new repeater’s subfields again: when I save the ACF page, it’s ok. Having to do it twice is obviously a bug.
When I edit my post and fill the new repeater subfields, their content is not saved to the database! Which is a major bug.
The bug seems to only affect new repeater fields. Indeed, my old repeater fields still work as expected, I can edit them, and the new content is saved to the database.
Out of curiosity, I had a look at the ACF PHP exports, to compare the code of new repeater fields with the old ones.
The key in the sub_fields array doesn’t match the field_xxx usual pattern, and I wonder if this could be the cause of the bug.
Note: I disabled all my other plugins in order to be sure no one is interfering with ACF Pro.
I also tested with ACF Pro 5.8.0-beta3, 5.8.0-beta2 and 5.8.0-beta1, 5.7.8 and 5.7.7, with no better luck! It had been a while since I had to create new repeater fields, I guess that’s why I didn’t notice these bugs before.
Any help would be greatly appreciated, as I’m working on a site that goes in production soon.
There is a filter somewhere on your site that is altering the “slug” of the ACF field post. This is where ACF stores the field key. You need to track down this filter. If you’ve already tried deactivating all other plugins then this is probably in your theme.