This probably has nothing to do with this problem, but i got the exact same error and this pops up as the first result when you look it up.
If you’re trying to get the values of a field that’s in a group, the way you’re supposed to do that is to call get_field()
on the group’s slug, not the nested fields. It will return an assoc. array with all the nested fields in it.