Fatal error: Call to a member function getId() on a non-object in /var/www/www/dps5517/html/intime/src/Minigraphx/MiniadBundle/Controller/AdvertisementController.php on line 290