Fatal error: Call to a member function getName() on a non-object in /var/www/corpsite/corpsite/src/Imagine/CorporateBundle/Controller/MagazineController.php on line 148