PHP notice

Trying to get property of non-object

/home/giangiaomanhhoaphat/public_html/themes/template/views/layouts/main.php(98)

086     'homeLink' => '<li>'.CHtml::link($this->lang['default'], Yii::app()->baseUrl.$this->setUrlModule('default').$this->setLangUrl(), array('title' => $this->lang['default'])).'</li>',
087     'links' => $this->breadcrumbs,
088     'tagName' => 'ol',
089     'encodeLabel' => false,
090     'separator' => '',
091     'htmlOptions' => array('class' => 'breadcrumb'),
092     'activeLinkTemplate' => '<li><a title="{label}" href="{url}">{label}</a></li>',
093     'inactiveLinkTemplate' => '<li class="active"><a title="{label}">{label}</a></li>',
094 )); ?>
095 </div>
096 <?php endif?>
097 <?php echo $content; ?><div class="clearfix"></div>
098 <?php if(Yii::app()->controller->module->id == "default" || Yii::app()->controller->module->id == "compact"):?>
099 <div class="wow fadeInUp">
100     <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3917.2773958234266!2d106.868529!3d10.942406100000001!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3174df644dbcbb49%3A0x3bb12ba814f2ba94!2zQ8O0bmcgdHkgVE5ISCBNVFYgTeG6oW5oIEjDsmEgcGjDoXQ!5e0!3m2!1svi!2s!4v1711191534598!5m2!1svi!2s" width="100%" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
101 </div>
102 <?php endif?>
103 <div id="footer" class="wow fadeInUp">
104 <div class="container">
105     <div class="row">
106         <div class="col-xs-12 col-sm-4 col-md-9 footer-left wow fadeInLeft">
107             <?php echo ($this->lang['slogan']) ? '<h4>'.$this->lang['slogan'].'</h4>' : ''?>
108             <?php echo ($this->lang['address']) ? '<p><i class="fa fa-map-marker"></i> '.$this->lang['address'].'</p>' : ''?>
109             <?php echo ($this->lang['address1']) ? '<p><i class="fa fa-map-marker"></i> '.$this->lang['address1'].'</p>' : ''?>
110             <?php echo ($this->lang['address2']) ? '<p><i class="fa fa-envelope-o"></i> '.$this->lang['address2'].'</p>' : ''?>

Stack Trace

#7
+
 /home/giangiaomanhhoaphat/public_html/themes/template/views/layouts/column-1.php(10): CBaseController->endContent()
05     <?php echo $content; ?>
06     <?php if ($this->getPosition('content_bottom')) {$this->setPosition('content_bottom');}?>
07     <div class="clearfix"></div>
08     </div>
09 </div>
10 <?php $this->endContent(); ?>
#11
+
 /home/giangiaomanhhoaphat/public_html/protected/controllers/TagController.php(14): CController->render("index", array("tag_info" => false, "items_news" => null, "items_products" => null))
09         
10         $tag_info = Tags::model()->tagInfo($tag);
11         $items_news = $news->listItemPageTag($tag);
12         $items_products = $products->listItemPageTag($tag);
13 
14         $this->render('index', array('tag_info'=>$tag_info, 'items_news'=>$items_news, 'items_products'=>$items_products));
15     }
16 }
#21
+
 /home/giangiaomanhhoaphat/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/yii.php');
11 Yii::createWebApplication($config)->run();
2024-03-29 05:16:21 Apache Yii Framework/1.1.14