Hello, drush on PHP 5.4 gets an error with d8cache:

Drush command terminated abnormally due to an unrecoverable error.   [error]
Error: Can't use function return value in write context in
d8cache/d8cache.drush.inc,
line 29

Apparently, you can't do empty() on trim() in 5.4.

Comments

Prizem created an issue. See original summary.

bdragon’s picture

Status: Active » Needs review
StatusFileSize
new651 bytes

Does this patch work for you?

j_s’s picture

It works! Thanks for the quick patch!

  • bdragon authored 6272692 on 7.x-1.x
    Issue #3014889 by bdragon, Prizem: Drush Error on PHP 5.4
    
bdragon’s picture

Status: Needs review » Fixed

Committed, thanks for checking the patch.

Status: Fixed » Closed (fixed)

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