No result was found for query although at least one row was expected.
500 Internal Server Error - NoResultException
Stack Trace
-
in /home/immog/www/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 613
$result = $this->execute(null, $hydrationMode);
if ($this->_hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {
throw new NoResultException;
}
if ( ! is_array($result)) {
-
at
AbstractQuery
->getSingleResult
()
in /home/immog/www/src/Begital/SiteBundle/Entity/BienImmobilierRepository.php at line 77 -
at
BienImmobilierRepository
->myFindOneBySlug
('magnifique-maison-rethaise')
in /home/immog/www/src/Begital/SiteBundle/Controller/PdfController.php at line 17 - at PdfController ->bienImmobilierAction ('magnifique-maison-rethaise')
-
at
call_user_func_array
(array(object(PdfController), 'bienImmobilierAction'), array('magnifique-maison-rethaise'))
in kernel.root_dir/bootstrap.php.cache at line 2844 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2818 -
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2947 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2249 -
at
Kernel
->handle
(object(Request))
in /home/immog/www/web/app.php at line 24