Exception detected!

No result was found for query although at least one row was expected.

500 Internal Server Error - NoResultException

Stack Trace

  1. in /home/immog/www/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 613  -
    1.         $result $this->execute(null$hydrationMode);
    2.         if ($this->_hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {
    3.             throw new NoResultException;
    4.         }
    5.         if ( ! is_array($result)) {
  2. at AbstractQuery ->getSingleResult ()
    in /home/immog/www/src/Begital/SiteBundle/Entity/BienImmobilierRepository.php at line 120  +
  3. at BienImmobilierRepository ->myFindBySlugAndImgPositionAsc ('appartement-t3-hyper-centre-avenue-grammont')
    in /home/immog/www/src/Begital/SiteBundle/Controller/BienImmobilierController.php at line 30  +
  4. at BienImmobilierController ->detailAction ('appartement-t3-hyper-centre-avenue-grammont', object(Request))
  5. at call_user_func_array (array(object(BienImmobilierController), 'detailAction'), array('appartement-t3-hyper-centre-avenue-grammont', object(Request)))
    in kernel.root_dir/bootstrap.php.cache at line 2844  +
  6. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2818  +
  7. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2947  +
  8. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2249  +
  9. at Kernel ->handle (object(Request))
    in /home/immog/www/web/app.php at line 24  +

Logs  -

Stack Trace (Plain Text)  +