No result was found for query although at least one row was expected.
500 Internal Server Error - NoResultException
Stack Trace
-
in /data/www/zamyslenia.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/zamyslenia.kbs.sk/src/Q7/BackBundle/Entity/ArticleRepository.php at line 205 -
at
ArticleRepository
->findAllActiveArticlesForSection
('myslienky-v-slovenskom-jazyku')
in /data/www/zamyslenia.kbs.sk/src/Q7/FrontBundle/Controller/DefaultController.php at line 50 - at DefaultController ->indexAction ('home', 'myslienky-v-slovenskom-jazyku', null)
-
at
call_user_func_array
(array(object(DefaultController), 'indexAction'), array('home', 'myslienky-v-slovenskom-jazyku', null))
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/zamyslenia.kbs.sk/public_html/app.php at line 21