When going to /post-create the post and category are getting created correctly with the associated category id.
After the creation, going to /post returns me the following error:
Doctrine\Common\Proxy\AbstractProxyFactory::getProxyDefinition(): Failed opening required '/var/tmp/__CG__ModulesBlogEntitiesCategory.php' (include_path='/Users/nicolaswidart/Sites/Testing/DoctrineInLaravel/vendor/phpseclib/phpseclib/phpseclib:.:/Applications/MAMP/bin/php/php5.6.2/lib/php')
Any suggestions ? :)
Thanks!
That would work yes, by setting
proxy.directoryin the laravel-doctrine config tobase_path('Modules/Blog/Proxies).But what if I have multiple modules ? The proxy directory setting is global for the application by the looks of it.