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 120 -
at
BienImmobilierRepository
->myFindBySlugAndImgPositionAsc
('cellules-commerciales-a-gemozac')
in /home/immog/www/src/Begital/SiteBundle/Controller/BienImmobilierController.php at line 30 - at BienImmobilierController ->detailAction ('cellules-commerciales-a-gemozac', object(Request))
-
at
call_user_func_array
(array(object(BienImmobilierController), 'detailAction'), array('cellules-commerciales-a-gemozac', object(Request)))
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