After fresh installation of 2.2.0 version it gives:

Class Magento\Framework\Session\SaveHandler contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface:: ) in vendor\magento\framework\Session\SaveHandler.php on line 16

1 Answer 1


Open this file


Look for

interface SaveHandlerInterface extends \SessionHandlerInterface

Replace it with

interface SaveHandlerInterface extends \Zend_Session_SaveHandler_Interface

Your Answer

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

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