0

I occasionally get the below error on our live website.

Fatal error: Class Magento\Framework\Session\SaveHandler contains 3 abstract methods and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::close, SessionHandlerInterface::write, SessionHandlerInterface::gc) in vendor/magento/framework/Session/SaveHandler.php on line 16

Tried some solution by changing with below code

interface SaveHandlerInterface extends \Zend_Session_SaveHandler_Interface 

from

interface SaveHandlerInterface extends \SessionHandlerInterface

in file path: lib\internal\Magento\Framework\Session\SaveHandler.php

But still, error exists after some time. Please anyone suggests this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.