Fatal error: Uncaught exception 'Doctrine\ORM\NoResultException' with message 'No result was found for query although at least one row was expected.' in /home/beret24r/domains/beret24.ru/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:649 Stack trace: #0 /home/beret24r/domains/beret24.ru/src/AppBundle/Repository/NewsRepository.php(54): Doctrine\ORM\AbstractQuery->getSingleResult() #1 /home/beret24r/domains/beret24.ru/src/AppBundle/Controller/NewsController.php(39): AppBundle\Repository\NewsRepository->findOneBySlug('skidka-50-na-vt...') #2 [internal function]: AppBundle\Controller\NewsController->viewAction('skidka-50-na-vt...') #3 /home/beret24r/domains/beret24.ru/app/bootstrap.php.cache(3054): call_user_func_array(Array, Array) #4 /home/beret24r/domains/beret24.ru/app/bootstrap.php.cache(3016): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #5 /home/beret24r/domains/beret24.ru/app/bootstrap.php.cache(3165): Symfony\Component\HttpKernel\HttpKernel->handle(Ob in /home/beret24r/domains/beret24.ru/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php on line 91