Problem/Motivation

Got this error as guest:

Warning: Undefined array key "_original image_" in Drupal\svg_image_responsive\Plugin\Field\FieldFormatter\SvgResponsiveImageFormatter->viewElements() (line 77 of modules/contrib/svg_image/modules/svg_image_responsive/src/Plugin/Field/FieldFormatter/SvgResponsiveImageFormatter.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork svg_image-3494745

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

thomas.frobieter created an issue. See original summary.

anybody’s picture

Version: 3.2.0 » 3.x-dev

This is the affected line:
https://git.drupalcode.org/project/svg_image/-/blob/3.x/modules/svg_imag...

Looks like no fallback image style is present? Maybe a misconfiguration?

anybody’s picture

Status: Active » Needs review

The attached MR does NOT fix the root cause, but maybe we should handle this better? Unsure...

mably’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

mably’s picture

Released in version 3.2.1.