Support

Account

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!