Tag Archives for " doctrine2 "

How to clean dump Doctrine2 entity (entities) without print_r and crash Apache

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 Netbeans IDE problems with code completion

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

Incoming search terms:

  • computer notes netbean ide

Symfony2, Doctrine2 Fatal error: Call to a member function getMetadataFactory() on a non-object in

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

Incoming search terms:

  • call to a member function getmetadatafactory() on a non-object