Home › Forums › General Issues › Warning: Trying to access array offset on value of type bool › Reply To: Warning: Trying to access array offset on value of type bool
You always need to check a value is what you expect, like an array, before access its properties.
I have no idea what this is, but it is returning false instead of what you expect it to return
$curGroup = Functions::getGroupData($curPoster['userGroup']);
either that of $curPoster['userGroup']
does not exist, where is this set
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.