Problem/Motivation

Latest Drupal Core update has caused a PHP warning: Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup() (line 162 of /var/www/html/web/core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php)

Steps to reproduce

Update Drupal.

Proposed resolution

Fix the issue. It appears to be the libraries file requiring a url attribute for the license.

Remaining tasks

Patch and tag a new release

User interface changes

None

API changes

None

Data model changes

Issue fork slimbox2-3587260

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

awasson created an issue. See original summary.

awasson’s picture

StatusFileSize
new0 bytes

Patch to fix

awasson’s picture

Title: Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup() (line 162 of /var/www/html/web/core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php) » Warning: Undefined array key "url"

Renaming and hiding the empty patch file

awasson’s picture

StatusFileSize
new341 bytes

New patch

  • awasson committed f47c6f5d on 2.0.x
    fix: #3587260 Warning: Undefined array key "url"
    
awasson’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

awasson’s picture

Status: Fixed » Closed (fixed)