Fix Error field_write_instance field crud inc Drupal

 

The error come after I install mobile number on my drupal 7 site, after I Fix Error FieldInfo prepareInstanceDisplay line 628 Drupal, next error is "Notice: Trying to access array offset on value of type null in _field_write_instance() (line 633 of .../modules/field/field.crud.inc)."

Under php 7.4 and when saving a content type's Manage Display page, I am getting "Notice: Trying to access array offset on value of type null in _field_write_instance() (line 633 of .../modules/field/field.crud.inc)."

to fix this error, I just Changing line 633 to the following:

$display['module'] = isset($formatter_type['module']) ? $formatter_type['module'] : '';

To this

 $display['module'] = isset($formatter_type['module']) ? $formatter_type['module'] : '';

0 Response to "Fix Error field_write_instance field crud inc Drupal "

Post a Comment

Komentar yang Anda kirim akan terlebih dahulu di moderasi oleh Admin