Fatal error: Call to a member function getId() on a non-object in /home/mahinev/public_html/src/Techno/SiteBundle/Controller/SiteController.php on line 216