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 649
$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/DW/CMSBundle/Repository/PageRepository.php at line 25 -
at
PageRepository
->findOneBySlug
('reiki-usui')
in src/AppBundle/Controller/DefaultController.php at line 102 -
at
DefaultController
->pageAction
(object(Request), 'reiki-usui')
in app/bootstrap.php.cache at line 3262 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3221 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3375 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2575 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 15