Fatal error: Uncaught Error: Call to a member function getNoticia() on null in /code/src/Gastronomia/NoticiasBundle/Repository/NoticiasRepository.php:554 Stack trace: #0 /code/src/Gastronomia/FrontendBundle/Controller/DefaultController.php(406): Gastronomia\NoticiasBundle\Repository\NoticiasRepository->getNoticiaById(Array) #1 [internal function]: Gastronomia\FrontendBundle\Controller\DefaultController->noticiaAction('8795', 'gastronomia-de-...') #2 /code/app/bootstrap.php.cache(2978): call_user_func_array(Array, Array) #3 /code/app/bootstrap.php.cache(2952): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /code/app/bootstrap.php.cache(3081): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /code/app/bootstrap.php.cache(2351): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #6 /code/web/app.php(21): Symfony\Compo in /code/src/Gastronomia/NoticiasBundle/Repository/NoticiasRepository.php on line 554