Fix Error FieldInfo prepareInstanceDisplay line 628 Drupal
I have some error with field info on drupal 7 with php 7.4, display error message is “Notice: Trying to access array offset on value of type null in FieldInfo->prepareInstanceDisplay() (line 628 of modules/field/field.info.class.inc).”
Open field.info.class.inc and change line 628 from below
$display['module'] = $formatter_type_info['module'];
to this
$display['module'] = !empty($formatter_type_info['module']) ? $formatter_type_info['module'] : '';
Read : Fix Error field_write_instance field crud inc Drupal
0 Response to "Fix Error FieldInfo prepareInstanceDisplay line 628 Drupal"
Post a Comment
Komentar yang Anda kirim akan terlebih dahulu di moderasi oleh Admin