Merge branch 'hotfix/6878-undefined-index-errors-in-memory-adapter-on-undefined-namespaces'

Close #6878
Fixes #6828 move zend\serializer deps how required
Merge branch 'hotfix/#6861-zend-cache-depends-on-zend-serializer' into develop

Close #6861
Forward port #6861