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/mcgestio/mcgestio/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 613  -
    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/mcgestio/mcgestio/src/Megapoint/CmsBundle/Repository/ArticleRepository.php at line 27  +
  3. at ArticleRepository ->getArticleBySlug ('news-1')
    in /home/mcgestio/mcgestio/src/Megapoint/CmsBundle/Controller/Frontend/CmsController.php at line 108  +
  4. at CmsController ->detailsAction ('news-1')
  5. at call_user_func_array (array(object(CmsController), 'detailsAction'), array('news-1'))
    in kernel.root_dir/bootstrap.php.cache at line 2903  +
  6. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2877  +
  7. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 3006  +
  8. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2286  +
  9. at Kernel ->handle (object(Request))
    in /home/mcgestio/public_html/app.php at line 24  +

Logs  -

Stack Trace (Plain Text)  +