Fatal error: Call to a member function getType() on a non-object in /var/www/ligup-pages/src/Lpages/FrontendBundle/Controller/DefaultController.php on line 304