Fatal error: Uncaught exception 'Doctrine\ORM\NoResultException' with message 'No result was found for query although at least one row was expected.' in /home/galeriaars/ftp/galeria-arsenal.pl/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:807 Stack trace: #0 /home/galeriaars/ftp/galeria-arsenal.pl/src/AppBundle/Controller/CollectionController.php(182): Doctrine\ORM\AbstractQuery->getSingleResult() #1 [internal function]: AppBundle\Controller\CollectionController->mainAction(Object(Symfony\Component\HttpFoundation\Request), false) #2 /home/galeriaars/ftp/galeria-arsenal.pl/app/bootstrap.php.cache(3109): call_user_func_array(Array, Array) #3 /home/galeriaars/ftp/galeria-arsenal.pl/app/bootstrap.php.cache(3071): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #4 /home/galeriaars/ftp/galeria-arsenal.pl/app/bootstrap.php.cache(3222): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /home/galeriaars/ftp/ in /home/galeriaars/ftp/galeria-arsenal.pl/app/cache/prod/classes.php on line 2570