Fatal error: Call to a member function getId() on a non-object in /var/app/current/src/Newspress/MainBundle/Controller/BaseController.php on line 30