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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users