Exception detected!

No result was found for query although at least one row was expected.

500 Internal Server Error - NoResultException

Stack Trace

  1. in /home/senso/megapoint/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 649  -
    1.         $result $this->execute(null$hydrationMode);
    2.         if ($this->_hydrationMode !== self::HYDRATE_SINGLE_SCALAR && ! $result) {
    3.             throw new NoResultException;
    4.         }
    5.         if ( ! is_array($result)) {
  2. at AbstractQuery ->getSingleResult ()
    in /home/senso/megapoint/src/Megapoint/CmsBundle/Repository/CategoryRepository.php at line 41  +
  3. at CategoryRepository ->getCategoryBySlug ('indicadors-de-processos')
    in /home/senso/megapoint/src/Megapoint/CmsBundle/Controller/Frontend/CmsController.php at line 259  +
  4. at CmsController ->categoryAction (object(Request), 'indicadors-de-processos')
  5. at call_user_func_array (array(object(CmsController), 'categoryAction'), array(object(Request), 'indicadors-de-processos'))
    in kernel.root_dir/bootstrap.php.cache at line 2911  +
  6. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2883  +
  7. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 3022  +
  8. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2303  +
  9. at Kernel ->handle (object(Request))
    in /home/senso/public_html/app.php at line 27  +

Logs  -

Stack Trace (Plain Text)  +