I'm trying to set up the Symfony CMF with Doctrine PHPCR-ODM. Unfortunately, whenever I want to save some data from Sonata Admin into the database, I get the following exception:
Compile Error: Doctrine\Common\Proxy\AbstractProxyFactory::getProxyDefinition():
Failed opening required
'/Applications/XAMPP/xamppfiles/htdocs/app/cache/dev/doctrine/PHPCRProxies/__CG__DoctrineODMPHPCRDocumentGeneric.php'
I have initialized the repository multiple times and deleted the cache too, but nothing helped.
Does anybody have an idea, why this file is missing? How could this file being generated?