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

  • Issue #3394268 by emircanerkul: Fixed Drupal 10 Warning: Undefined array key item for blazy blurry pre-process of media field
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

emircanerkul created an issue. See original summary.

rajab natshah’s picture

Title: Undefined array key item in D10 » Fix Warning: Undefined array key item with Drupal 10
Issue summary: View changes

abhishek_virasat made their first commit to this issue’s fork.

abhishek_gupta1’s picture

Status: Active » Needs review

fixed the issue, kindly please review the MR

rajab natshah’s picture

rajab natshah’s picture

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

rajab natshah’s picture

Version: 9.0.24 » 9.0.x-dev
Assigned: rajab natshah » Unassigned
Issue summary: View changes
Issue tags: +varbase-9.0.17, +varbase_media-9.0.29
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.0.17

rajab natshah’s picture

Issue summary: View changes