I upgrade PHP from 7.0 to 7.2 for magento using redis session storage. But it's tack much time for session connection and got below session errors in log file.

 1. PHP Fatal error:  Uncaught Error: __clone method called on
    non-object in
 2. Warning: Unknown: Cannot call session save handler in a recursive
    manner  in Unknown on line 0
 3. Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions)  in Unknown on line 0

I already use latest version of Cm_RedisSession & Cm_Cache_Backend_Redis.

  • 1
    magento 1.9 version requires PHP 5.4 (or 5.5). Try with it Jul 28, 2020 at 5:17

1 Answer 1


If i remember right php7.2 support was added with v1.9.4.0, it should work.

You already asked there .... I'd suggest to upgrade to OpenMage that definitely works with php7.2+ ;)

  • Yes it's working fine normally but when visitor > 1k than shown errors is there any idea about that? Aug 4, 2020 at 3:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.