After a "drush cr" I get this error:

Notice: Undefined index: lazy_image in lazy_field_formatter_info_alter() (line 286 of modules/contrib/lazy/lazy.module).

and

Notice: Undefined index: lazy_responsive_image in lazy_field_formatter_info_alter() (line 290 of modules/contrib/lazy/lazy.module).

It probably happens to me because I updated the module from version 2.0 to 3.4 and if I go on "/admin/config/content/lazy" I see:

The text-formats have lazy-loading enabled: none

and I haven't saved the configuration module yet.

Attached in the next commit a proposed patch

Comments

robertom created an issue. See original summary.

robertom’s picture

Attached a proposed patch

robertom’s picture

Status: Active » Needs review

  • osman committed 4570059 on 8.x-3.x authored by robertom
    Issue #3119641 by robertom, osman: Notice: Undefined index: lazy_image...
osman’s picture

Status: Needs review » Fixed

I was able to reproduce the errors. Thanks for the patch @robertom.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.