Home › Forums › General Issues › Illegal offset type in isset or empty › Reply To: Illegal offset type in isset or empty
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
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.