/home/rjliiugrhosting/public_html/goldkeylawfirm.vn/
ErrorException
Undefined variable: strCateName
    • 45
      app/Http/Controllers/CateController.php
      Illuminate\Foundation\Bootstrap\HandleExceptions
      :56
    • 44
      App\Http\Controllers\CateController
      :56
  1. 1 unknown frame
    • 1
      public/index.php
      :55
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
app/Http/Controllers/CateController.php:56

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

if($vcate->newcate_code==$strCate1)

{

$strCateName = $vcate->newcate_name;

$strMetaDesc = $strCateDesc = $vcate->newcate_desc_seo;

$strCateContent = $vcate->newcate_content;

$strMetaImg = Config::get('constants.PUBLIC_URL').'images/cate/510x286/'.$vcate->newcate_picture;

}

}

}

 

$arrNewsByCate1 = $objNews->getNewsByCate1('',8,$strLang);//-- xem nhieu tay phai

 

//-- lay 10 video noi bat trang chu tin

$arrVideoHot = $objVideo->getMediaFeature(10, $strLang);

 

return view('cate/detail',['strTitle'=>'Lĩnh vực '.$strCateName.' - Hãng Luật GOLD KEY | goldkeylawfirm.vn',

'strCate1'=>$strCate1,

'strCate2'=>$strCate2,

'strCateName'=>$strCateName,

'strCateDesc'=>$strCateDesc,

'strCateContent'=>$strCateContent,

'strMetaDesc'=>$strMetaDesc,

'strMetaImg'=>$strMetaImg,

'arrNewsByCate1'=>$arrNewsByCate1,

'arrCate2'=>$arrCate2,

'arrVideoHot'=>$arrVideoHot

]);

// return view('index', ['strTitle' => $strTitle,

// 'arrCateHocTap' => '',

// 'isHome' => 'home',

// 'arrTagHomeSearchs' => $arrTagHomeSearchs,