Fatal error: Call to a member function getId() on a non-object in /home/cubandiv/new/releases/20151222164507/src/Cdc/FrontendBundle/Controller/GalleryController.php on line 75