Exception detected!

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

500 Internal Server Error - NoResultException

Stack Trace

  1. in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 807  -
    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 src/AppBundle/Controller/CollectionController.php at line 130  +
  3. at CollectionController ->itemAction (object(Request), 'bez-tytulu-21')
  4. at call_user_func_array (array(object(CollectionController), 'itemAction'), array(object(Request), 'bez-tytulu-21'))
    in app/bootstrap.php.cache at line 3109  +
  5. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3071  +
  6. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3222  +
  7. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2444  +
  8. at Kernel ->handle (object(Request))
    in public_html/app.php at line 34  +

Logs  -

Stack Trace (Plain Text)  +