Undefined array key "class" in media_gallery_preprocess_field()

Created on 28 March 2025, 9 days ago

Problem/Motivation

I am getting the following error in "Manage Display" of media type image:
Warning: Undefined array key "class" in media_gallery_preprocess_field() (line 123 of modules/contrib/media_gallery/media_gallery.module).

Proposed resolution

Optimize check for class attribute.

🐛 Bug report
Status

Active

Version

3.0

Component

Default

Created by

🇩🇪Germany Duwid

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