Exception detected!

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

500 Internal Server Error - NoResultException

Stack Trace

  1. in /app/vendor/doctrine/lib/Doctrine/ORM/AbstractQuery.php at line 483  -
    1.         $result $this->execute(array(), $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 /app/src/Wuji/BaseBundle/Repository/ProgramRepository.php at line 257  +
  3. at ProgramRepository ->findOneBySlug ('dr-saputo-wellness-program')
    in /app/src/Wuji/BaseBundle/Controller/ProgramController.php at line 151  +
  4. at ProgramController ->detailsAction ('dr-saputo-wellness-program')
  5. at call_user_func_array (array(object(ProgramController), 'detailsAction'), array('dr-saputo-wellness-program'))
    in kernel.root_dir/cache/prod/classes.php at line 3905  +
  6. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/cache/prod/classes.php at line 3875  +
  7. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/cache/prod/classes.php at line 4852  +
  8. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 547  +
  9. at Kernel ->handle (object(Request))
    in /app/web/app.php at line 24  +

Logs  -