No result was found for query although at least one row was expected.
500 Internal Server Error - NoResultException
Stack Trace
-
in /home/secpb/domains/secpb.org.br/public_html/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 /home/secpb/domains/secpb.org.br/public_html/src/Secpb/FrontendBundle/Controller/NoticiaController.php at line 101 - at NoticiaController ->showAction ('207')
-
at
call_user_func_array
(array(object(NoticiaController), 'showAction'), array('207'))
in kernel.root_dir/bootstrap.php.cache at line 2889 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2863 -
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2992 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2272 -
at
Kernel
->handle
(object(Request))
in /home/secpb/domains/secpb.org.br/public_html/web/app.php at line 23