PHP warnings on refresh when no media items

Created on 4 October 2023, about 1 year ago
Updated 16 September 2024, 3 months ago

On a site with no media items, clicking Refresh on /admin/config/media/thumbnails/refresh to make new thumbnails generates two warnings in the log:

Undefined array key 0 RefreshBatch.php:70
array_flip(): Can only flip string and integer values, entry skipped EntityStorageBase.php:312
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada bwaindwain

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

Comments & Activities

Production build 0.71.5 2024