No result was found for query although at least one row was expected.
500 Internal Server Error - NoResultException
Stack Trace
-
in vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 807
$result = $this->execute(null, $hydrationMode);
if ($this->_hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {
throw new NoResultException;
}
if ( ! is_array($result)) {
-
at
AbstractQuery
->getSingleResult
()
in src/Antart/DictionaryBundle/Controller/Site/TermsController.php at line 54 - at TermsController ->viewAction ()
-
at
call_user_func_array
()
in app/bootstrap.php.cache at line 3109 -
at
HttpKernel
->handleRaw
()
in app/bootstrap.php.cache at line 3071 -
at
HttpKernel
->handle
()
in app/bootstrap.php.cache at line 3222 -
at
ContainerAwareHttpKernel
->handle
()
in app/bootstrap.php.cache at line 2444 -
at
Kernel
->handle
()
in web/app.php at line 26