Fixed #6818
Merge branch 'hotfix/#6877-zend-session-event-manager-dependency'

Close #6877
Close #6818