Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getRoleByName() on null in /home/litnlat/literatureandlatte.com/src/AppBundle/Controller/BlogController.php:67 Stack trace: #0 [internal function]: AppBundle\Controller\BlogController->indexAction(Object(AppBundle\Entity\CMS\Page\BlogPage), Object(Symfony\Component\HttpFoundation\Request)) #1 /home/litnlat/literatureandlatte.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(153): call_user_func_array(Array, Array) #2 /home/litnlat/literatureandlatte.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #3 /home/litnlat/literatureandlatte.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(169): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #4 /home/litnlat/literatureandlatte.com/web/app.php in /home/litnlat/literatureandlatte.com/src/AppBundle/Controller/BlogController.php on line 67