Have you ever try print_r($entity)? Apache crash? Yes – exactly. Doctrine2 entity has massive recursion and trying dump by print_r give Apache crash. How to do this safely and clean?Continue reading
Doctrine2/Symfony2 project? You write a code, press ctrl + space and… no all code completion… Why?
$em = $this->getDoctrine()->getManager(); $query = $em-> (should be createQuery, createBuilderQuery BUT nothing like that)
Solutions is simple (as usual…) but take some time to know how…Continue reading
This problem meets me after upload my Symfony2 app from my laptop to production server. Then, when I try run app I get:
Symfony2, Doctrine2 Fatal error: Call to a member function getMetadataFactory() on a non-object in…
After lot of searching I found solution. Continue reading