With PHP 7, eu_cookie_compliance.libraries.yml causes Drupal to crash

Created on 24 November 2024, 24 days ago

Problem/Motivation

When running the module under PHP 7, there's an error thrown:

Drupal\Core\Asset\Exception\InvalidLibraryFileException: Invalid library definition in modules/contrib/eu-cookie-compliance/eu_cookie_compliance.libraries.yml: Malformed inline YAML string: "{ minified: true," at line 5 (near " minified: true,").

Proposed resolution

Although not many are affected, removing the trailing comma will fix this issue.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇳🇴Norway svenryen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024