Home › Forums › Bug Reports › ACF – PHP 7.4 ERROR › Reply To: ACF – PHP 7.4 ERROR
Hi there!
Any news on this? Since running on PHP 7.4, I also encounter this error:
Notice: Trying to access array offset on value of type bool in […]/products.php on line 169
The code itself is quite simple:
167| $field_object = get_field_object( 'p_props_' . $grp . '_' . $v );
168|
169| if ( $field_object['type'] == 'true_false' ) :
And what does this error actually mean? I can’t see any issue on the page besides the debug error message.
Thanks for any help!
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.