colinmollenhour / Cm_Cache_Backend_Redis

A Zend_Cache backend for Redis with full support for tags (works great with Magento)
Other
389 stars 142 forks source link

Fatal Error after upgrade #127

Closed gaiterjones closed 6 years ago

gaiterjones commented 6 years ago

After a modman update-all today I saw

PHP Fatal error: Arrays are not allowed in class constants in .modman/Cm_RedisSession/credis/Cluster.php on line 333

And Magento was broken. I did a git reset --hard HEAD@{x} in .modman/Cm_Cache_Backend_Redis which resolved the problem. Is there a known issue with the latest updates?

Modman is managing : Cm_RedisSession Cm_Cache_Backend_Redis

colinmollenhour commented 6 years ago

Updated Credis to fix PHP <5.6 (1.9.1) and updated this repo to track it; released as 1.10.4.

Btw, you really should upgrade to PHP 7, it is sooo much faster.. :)

gaiterjones commented 6 years ago

Thanks, PHP 7 is not officially supported for Magento 1.x that's why I'm using it.

colinmollenhour commented 6 years ago

Any version of M1 can be made to work with PHP 7 quite easily such as by using https://github.com/Inchoo/Inchoo_PHP7