Fatal error: Call to a member function getId() on a non-object in /lib/model/doctrine/ProjectTable.class.php on line 651