Cannot load the "%s" entity with NULL ID

Created on 19 June 2025, 5 days ago

Problem/Motivation

I noticed that there can be the case that the "responsive_image_style" setting is empty. This triggers an error.

The issue is in "umf/src/Plugin/Field/FieldFormatter/UniversalMediaFormatter.php" line 296.
A check might be required:
$responsive_image_style = $this->responsiveImageStyleStorage->load($this->getSetting('responsive_image_style'));

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany ayrmax

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024