Installing 7.x-1.29 cause "Parse error: syntax error, unexpected '[' in /var/www/_._._._._._._/web/sites/all/modules/eu_cookie_compliance/eu_cookie_compliance.module on line 522"

Drupal 7.67, PHP: 5.3.3-7+squeeze19, PHP-Memory-limit: 150M

Is this caused by the old PHP version, or something else?

Comments

pal_ur created an issue. See original summary.

pal_ur’s picture

Issue summary: View changes
svenryen’s picture

We accidentally included some code that only works with PHP 5.4 and up.

Here's a patch that resolves your issue.

  • svenryen authored 19e5ecf on 7.x-1.x
    Issue #3066333 by svenryen: Syntax error, or something else?
    
svenryen’s picture

Status: Active » Fixed

  • svenryen authored 19e5ecf on 7.x-2.x
    Issue #3066333 by svenryen: Syntax error, or something else?
    

Status: Fixed » Closed (fixed)

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