No result was found for query although at least one row was expected.
500 Internal Server Error - NoResultException
Stack Trace
-
in /data/www/romovia.kbs.sk/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 609
$result = $this->execute(null, $hydrationMode);
if ($this->_hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {
throw new NoResultException;
}
if ( ! is_array($result)) {
-
at
AbstractQuery
->getSingleResult
()
in /data/www/romovia.kbs.sk/src/Q7/BackBundle/Entity/ArticleRepository.php at line 205 -
at
ArticleRepository
->findAllActiveArticlesForSection
('smernica-pre-pastoraciu-romov')
in /data/www/romovia.kbs.sk/src/Q7/FrontBundle/Controller/DefaultController.php at line 52 - at DefaultController ->indexAction ('home', 'smernica-pre-pastoraciu-romov', null, '1')
-
at
call_user_func_array
(array(object(DefaultController), 'indexAction'), array('home', 'smernica-pre-pastoraciu-romov', null, '1'))
in kernel.root_dir/bootstrap.php.cache at line 1426 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 1390 -
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 1566 -
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 617 -
at
Kernel
->handle
(object(Request))
in /data/www/romovia.kbs.sk/public_html/app.php at line 21