SessionHandler::write(): Parent session handler is not open SessionHandler::write(): Parent session handler is not open symfony symfony

SessionHandler::write(): Parent session handler is not open


The problem like mentionned in the ticket on github is a bug related to PHP so there is noting to do in the Symfony2 side.

Consider moving away from your current php 5.4.x to a newer version.

According to this comming you should be at least using >= php 5.4.11

See this commit


Fast solution could be:

logout:    invalidate_session: false

EDIT:

Be aware session will not be destroyed after logout.I would recommend @Tristan solution.