“
Notice: Use of undefined constant dilgrup - assumed 'dilgrup'
500 Internal Server Error - ContextErrorException
”
Stack Trace
-
in src/SiteBundle/Controller/DefaultController.php at line 254
$dil = $this->get('session')->get('dil');
$gelenSayfa = $em->createQuery("SELECT s.seo,st.id as stid,s.dilgrup,s.id,s.dilgrup,s.title,s.keywords,s.description,s.adi,s.bannerUrl,s.kategoriDurum,s.paylasim FROM AdminBundle:Sayfa s JOIN s.tip st WHERE s.seo='$sayfa_seo'")->getResult();
$sayfa_id = $this->TrBul($gelenSayfa[0][dilgrup], 'Sayfa', 'id');
$gelenKategori = $em->createQuery("SELECT s.seo as sseo,k.seo,k.ustid,k.baslik,k.dilgrup,k.title,k.keywords,k.description FROM AdminBundle:Kategori k JOIN k.sayfa s WHERE s.id='$sayfa_id' AND k.seo='$kategori_seo'")->getResult();
$kategori_id=$this->TrBul($gelenKategori[0]['dilgrup'],'Kategori','id');
- at DefaultController ->kategori_icAction ('urunlerimiz', 'sogutma-grubu', 'carrier-30xb-xbp-aquaforce-serisi-hava-sogutmali-sogutma-grubu')
-
at
call_user_func_array
(array(object(DefaultController), 'kategori_icAction'), array('urunlerimiz', 'sogutma-grubu', 'carrier-30xb-xbp-aquaforce-serisi-hava-sogutmali-sogutma-grubu'))
in var/cache/prod/classes.php at line 4767 -
at
HttpKernel
->handleRaw
(object(Request), 1)
in var/cache/prod/classes.php at line 4722 -
at
HttpKernel
->handle
(object(Request), 1, true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 168 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 16