Exception detected!

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

500 Internal Server Error - NoResultException

Stack Trace

  1. in /var/www/finxu/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 /var/www/finxu/src/Core/GlobalBundle/Entity/Repository/SiteWebRepository.php at line 40  +
  3. at SiteWebRepository ->findDevByUrl ('patbiloya-art-plastique')
    in /var/www/finxu/src/Core/PublicBundle/Controller/SiteController.php at line 159  +
  4. at SiteController ->getDevApiKey ('patbiloya-art-plastique')
    in /var/www/finxu/src/Core/PublicBundle/Controller/SiteController.php at line 322  +
  5. at SiteController ->pageMultiLangAction ('finxu', 'com', 'accueil', 'patbiloya-art-plastique', false, 'fr')
  6. at call_user_func_array (array(object(SiteController), 'pageMultiLangAction'), array('finxu', 'com', 'accueil', 'patbiloya-art-plastique', false, 'fr'))
    in kernel.root_dir/bootstrap.php.cache at line 2841  +
  7. at HttpKernel ->handleRaw (object(Request), '1')
    in kernel.root_dir/bootstrap.php.cache at line 2815  +
  8. at HttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2944  +
  9. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in kernel.root_dir/bootstrap.php.cache at line 2245  +
  10. at Kernel ->handle (object(Request))
    in /var/www/finxu/web/app.php at line 23  +

Logs  -

Stack Trace (Plain Text)  +