Fix Drupal 10 Warning: Undefined array key item for blazy blurry pre-process of media field

Created on 16 October 2023, about 1 year ago
Updated 12 December 2023, about 1 year ago

Problem/Motivation

Undefined array key item in D10

Warning: Undefined array key "item" in varbase_media_preprocess_field() (line 134 of modules/contrib/varbase_media/varbase_media.module).

Steps to reproduce

Use D10 while using this module and make sure to enable blazy_blurry.

Proposed resolution

Change `item` to `#item`

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.17 , varbase_media-9.0.29

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

🐛 Bug report
Status

Fixed

Version

9.0

Component

Code

Created by

🇹🇷Turkey emircan erkul Turkey

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

Comments & Activities

Production build 0.71.5 2024