Undefined key "name" after clearing caches

Created on 7 March 2024, 4 months ago
Updated 1 June 2024, 28 days ago

Problem/Motivation

Following warning is displayed after clearing the caches: Warning: Undefined array key "name" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup() (line 170 of core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php).

Steps to reproduce

Install SIDR module and configure, clear caches and refresh page.

Proposed resolution

In the sidr.libraries.yml file, specify the key/value "name: MIT" under the "license" key of the sidr library.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom scot.hubbard Fenay Bridge, Huddersfield

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

Comments & Activities

Production build 0.69.0 2024