Under PHP 7.4 I get this notices:

Notice: Trying to access array offset on value of type null in field_formatter_settings_get_instance_display_settings() (Zeile 34 von /.../sites/all/modules/field_formatter_settings/field_formatter_settings.module).

Comments

bigpun6681 created an issue. See original summary.

danreb’s picture

Quick FIx, edit line 34 and change it to

$defaults = isset($info['display']['default']['settings']) ? $info['display']['default']['settings'] : 0;

samberry’s picture

I've just created a patch for the last comment. But rather than set to 0 if no value is found, I've set to an empty array.

hosisam’s picture

#3 did not work for me, so I created a new patch for #2.

mohit.bansal623’s picture

Status: Active » Needs review

As #4 works fine after running test, moving this to Needs Review.

mark.labrecque’s picture

Status: Needs review » Reviewed & tested by the community
mark.labrecque’s picture

Status: Reviewed & tested by the community » Closed (duplicate)