Closed mbabker closed 3 years ago
Indeed. Thanks for reporting this.
I will look into this asap.
@mbabker would you be able to test https://github.com/dmaicher/doctrine-test-bundle/pull/161 ?
With that PR everything's working fine for me with the caches re-enabled.
hello, any info when it will be released? thanks
DoctrineBundle 2.4 will drop support for ORM versions before 2.9. As of DoctrineBundle 2.4, it is only configuring the metadata cache using the PSR-6 typehinted
Doctrine\ORM\Configuration::setMetadataCache()
method. Since theDAMA\DoctrineTestBundle\Doctrine\Cache\StaticArrayCache
class doesn't implement the PSR, this causes things to fail over pretty hard. With Doctrine's cache library being deprecated, it would also probably be good to replace the cache implementation used here.For now, this can be worked around by setting the
enable_static_meta_data_cache
andenable_static_query_cache
options to false.