PHP notice

Trying to get property of non-object

/home/vanduongong/public_html/themes/150713/views/yoshitake/default/view.php(1)

01 <?php $this->breadcrumbs = array($this->lang[$this->module->id] => array($this->setUrlModule()), $item->YoshitakeCat->YoshitakeCatLanguage[Yii::app()->language]['cat_title'] => array($this->setUrlModule().'/'.$item->YoshitakeCat->YoshitakeCatLanguage[Yii::app()->language]['tag']), $item->YoshitakeLanguage[Yii::app()->language]['title']); ?>
02 <?php $this->pageTitle = $item->YoshitakeLanguage[Yii::app()->language]['title'] . ' - ' .$item->YoshitakeCat->YoshitakeCatLanguage[Yii::app()->language]['cat_title']; $this->description = $item->YoshitakeLanguage[Yii::app()->language]['description']?>
03 <?php ($item['pic_thumb']) ? $this->imageItem = 'http://'.$_SERVER['HTTP_HOST'].$this->setPathUser().'/products/'.$item['pic_thumb'] : ''?>
04 <?php
05     Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/css/share.css');
06     Yii::app()->clientScript->registerScriptFile(Yii::app()->theme->baseUrl . '/js/share.js');
07 ?>
08 <div class="main-border">
09 <h1 class="title-right"><?php echo $item->YoshitakeLanguage[Yii::app()->language]['title']?></h1>
10 <div class="main-content">
11     <?php if($item['pic_full'] || $pic_desc):?>
12     <?php
13         Yii::app()->clientScript->registerCssFile(Yii::app()->theme->baseUrl . '/css/product.scroll.css');

Stack Trace

#4
+
 /home/vanduongong/public_html/protected/modules/yoshitake/controllers/DefaultController.php(43): CController->render("view", array("item" => Yoshitake, "pic_desc" => array(), "items_other" => array(Yoshitake, Yoshitake, Yoshitake)))
38         }
39         $pic_desc = $model_pictures->listPicturesById($item['record_id']);
40         $items_other = $model->listOtherItems($item['record_id'], $item['hoiit_module_item_cat_cat_id']);
41         $data = array('item' => $item, 'pic_desc' => $pic_desc, 'items_other' => $items_other);
42         
43         $this->render('view', $data);
44     }
45     
46     public function actionSearch() {
47         $model_class = ucfirst($this->module->id) ;
48         $model_lang_class = $model_class . 'Language';
#14
+
 /home/vanduongong/public_html/index.php(11): CApplication->run()
06 defined('YII_DEBUG') or define('YII_DEBUG', true);
07 // specify how many levels of call stack should be shown in each log message
08 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
09 
10 require_once('framework/yiilite.php');
11 Yii::createWebApplication($config)->run();
2024-03-29 04:11:06 Apache Yii Framework/1.1.12