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.

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

svenryen created an issue. See original summary.

svenryen’s picture

  • svenryen committed 7b24a638 on 8.x-1.x
    Issue #3489452 by svenryen: With PHP 7, eu_cookie_compliance.libraries....
atowl’s picture

Status: Active » Fixed

Closing this as fixed, looks like it's been merged already.

Status: Fixed » Closed (fixed)

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