Fatal error: Call to a member function getPages() on a non-object in /home/espal/src/Espal/FrontendBundle/Controller/DefaultController.php on line 358