PHP notice

Undefined variable: articlecount

/mnt/datadisk3/dongan/var/www/0516.su118114.com/protected/views/index/index.php(47)

35                             if($this->beginCache(md5('INDEX_HHotUnit_V3'), array('cacheID'=>'pageCache','duration'=>Yii::app()->params['cachetimes'][0]))) {
36                                 $this->renderUserPagelet('HHotContent',array('params'=>array('type'=>3,'count'=>5,'viewFile'=>'v3'))); 
37                                 $this->endCache();
38                             }    
39                             ?>
40                         </div>
41                         <div class="countupgrade" onmouseleave="changeDiv('MR',this)">
42                             <?php 
43                             if($this->beginCache(md5('INDEX_COUNT'), array('cacheID'=>'pageCache','duration'=>Yii::app()->params['cachetimes'][0]))) {
44                             ?>
45                             <div class="count">
46                                 <div class="title">
47                                     <i>1.</i> 共发布各类生活分类信息 <span><?php echo $articlecount; ?></span> 条<br />
48                                     <i>2.</i> 共显示本地商家网点 <span><?php echo $unitcount; ?></span> 家 
49                                 </div>
50                                 <div class="button"><input name="提交" type="submit" class="wyfbxx" onClick="javascript:location.href='<?php echo Yii::app()->createUrl("login/register"); ?>'" value="我要加盟" /></div>
51                             </div>
52                             <?php 
53                                 $this->endCache();
54                             }    
55                             ?>
56                             <div class="clearfix"></div>
57                             <div class="focusnews" style="height:413px;" id="div_py">        
58                                 <!-- 热门企业分类展示  -->
59                                 <?php 

Stack Trace

#4
+
 /mnt/datadisk3/dongan/var/www/0516.su118114.com/protected/controllers/IndexController.php(38): CController->render("index")
33     }
34     
35     // 首页
36     public function actionIndex()
37     {
38             $this->render('index');
39     }
40 
41         // 联系1
42     public function actionContact()
43     {
#12
+
 /mnt/datadisk3/dongan/var/www/0516.su118114.com/index.php(26): CApplication->run()
21 defined('YII_DEBUG') or define('YII_DEBUG',true);
22 // specify how many levels of call stack should be shown in each log message
23 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
24 
25 require_once($yii);
26 Yii::createWebApplication($config)->run();
2024-03-28 22:24:24 nginx/1.19.3 Yii Framework/1.1.13