Notice: Use of undefined constant dilgrup - assumed 'dilgrup'

500 Internal Server Error - ContextErrorException

Stack Trace

  1. in src/SiteBundle/Controller/DefaultController.php at line 302  -
    1.         $dil $this->get('session')->get('dil');
    2.         $gelenSayfa $em->createQuery("SELECT s.seo,st.id,s.dilgrup,s.dilgrup,s.title,s.keywords,s.description,s.adi,s.bannerUrl,s.paylasim FROM AdminBundle:Sayfa s JOIN s.tip st WHERE s.seo='$sayfa_seo'")->getResult();
    3.         $gelenSayfaTrId $this->TrBul($gelenSayfa[0][dilgrup],'Sayfa','id');
  2. at DefaultController ->sayfa_icAction ('urunlerimiz', 'kontrol-uniteleri')
  3. at call_user_func_array (array(object(DefaultController), 'sayfa_icAction'), array('urunlerimiz', 'kontrol-uniteleri'))
    in var/cache/prod/classes.php at line 4767  +
  4. at HttpKernel ->handleRaw (object(Request), 1)
    in var/cache/prod/classes.php at line 4722  +
  5. at HttpKernel ->handle (object(Request), 1, true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 168  +
  6. at Kernel ->handle (object(Request))
    in web/app.php at line 16  +

Logs  -

Stack Trace (Plain Text)  +