Fatal error: Uncaught Doctrine\ORM\NonUniqueResultException: More than one result was found for query although one row or none was expected. in /home/appheros/sites/qualitoit/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php:770 Stack trace: #0 /home/appheros/sites/qualitoit/src/AppBundle/Repository/UserProRepository.php(150): Doctrine\ORM\AbstractQuery->getOneOrNullResult() #1 /home/appheros/sites/qualitoit/src/AppBundle/Controller/AppController.php(689): AppBundle\Repository\UserProRepository->findByRequetes('creuse', 'le-grand-bourg', 'le-grand-bourg', 'charpentier-cou...') #2 /home/appheros/sites/qualitoit/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): AppBundle\Controller\AppController->annuaireDetailAction(Object(Symfony\Component\HttpFoundation\Request), Object(AppBundle\Entity\UserPro), '23', 'creuse', 'le-grand-bourg', 'le-grand-bourg', 'charpentier-cou...', Object(AppBundle\Services\GetCoordonne), Object(AppBundle\Services\SendEmail)) #3 /home/appheros/sites/qualitoit/vendor/sy in /home/appheros/sites/qualitoit/app/Resources/TwigBundle/views/Exception/error500.html.twig on line 202