PHP notice

Undefined index: list

/mnt/www/rrxcn/www/webroot/protected/views/site/bannermagic.php(125)

113                             <?php echo $navItem['name'];?>
114                             </a>
115                             <?php if(count($navItem['content'])>0) { ?>
116                             <div class="dropdown-menu double-menu" style=" width:<?php $setW=0; foreach ($navItem['content'] as $index=>$data) {$setW+=$data['width'];} echo empty($setW)?'':$setW.'px'; ?> " role="menu">
117                                 <?php foreach ($navItem['content'] as $index=>$data) { ?>
118                                     <div class="menu-cloum <?php echo isset($data['className'])?$data['className']:''; ?>">
119                                         <div class="menu-cloum-title"><?php echo $data['title']; ?></div>
120                                         <?php if($index===0) { ?>
121                                         <ul class="dropdown-menu-left" >
122                                             <?php }else{ ?>
123                                             <ul class="dropdown-menu-right" >
124                                             <?php } ?>
125                                                 <?php foreach ($data['list'] as $nav) { ?>
126                                                     <?php if(empty($nav['src'])) { ?>
127                                                         <li><a href="javascript:void(0);" style="padding-left: 30px;"><?php echo $nav['name']; ?><span class="later">(即将上线)</span></a></li>
128                                                     <?php }else{ if(strrpos($nav['src'],"http")===false){ ?>
129                                                         <li><a 
130                                                         tracking_id="site_global_top_sl_cate" tracking_area="<?php echo $navItem['name'];?>类目选项" tracking_name="<?php echo $nav['name']; ?>"
131                                                         href="<?php echo Yii::app()->params['hostUrl'].'/'.$nav['src'];?>" style="padding-left: 30px;"><?php echo $nav['name']; ?></a></li>
132                                                         <?php }else{ ?>
133                                                             <li><a 
134                                                             tracking_id="site_global_top_sl_cate" tracking_area="<?php echo $navItem['name'];?>类目选项" tracking_name="<?php echo $nav['name']; ?>"
135                                                             href="<?php echo $nav['src'];?>" style="padding-left: 30px;"><?php echo $nav['name']; ?></a></li>
136                                                     <?php }}  ?>
137                                                     

Stack Trace

#3
+
 /mnt/www/rrxcn/www/webroot/protected/components/BannerMagicWidget.php(24): CWidget->render("application.views.site.bannermagic", array("currentUser" => array("result" => 1, "msg" => "未登录", "role" => ""), "unReadMessageCount" => 0, "menuContent" => array("portal" => "h5", "platform" => 30, "logos" => array("isDefault" => false, "logoUrl" => "https://assets.rrxh5.cc/www/images/v5/h5/logo.png", "href" => "https://rrx.cn/sms"), "hostUrl" => "https://rrx.cn/index", ...), "fromChannel" => null, ...))
19             'menuContent'=> PortalUtil::getHomeMenu($this->portal,$this->isSpider,$this->kind),
20             'fromChannel'=>$this->fromChannel,
21             'active'=>$this->active,
22             'endTime'=>BuyTplUtil::PROMOTION_END_TIME,
23             'tplNewYearActConf'=>BuyTplUtil::getNewYearActConf(),
24         ));
25     }
26 }
#5
+
 /mnt/www/rrxcn/www/webroot/protected/views/site/smshome.php(33): CBaseController->widget("BannerMagicWidget", array("currentUser" => array("result" => 1, "msg" => "未登录", "role" => ""), "unReadMessageCount" => 0, "portal" => "sms"))
28         <!-- being 导航 -->
29         <?php $this->widget('BannerMagicWidget', array(
30             "currentUser" => isset($this->mianUser)?$this->mianUser:[],
31             'unReadMessageCount' => isset($this->unReadMessageCount)?$this->unReadMessageCount:0,
32             'portal'=>$portal
33             )) ?>
34         <!-- end 导航 -->
35 
36         <div class="mywsite mywsite-sms">
37             <!-- banenr -->
38             <div class="mywsite-sms-banner">
#10
+
 /mnt/www/rrxcn/www/webroot/protected/controllers/SiteController.php(10900): CController->render("smshome", array("currentUser" => array("result" => 1, "msg" => "未登录", "role" => ""), "portal" => "sms"))
10895 
10896         $this->layout=false;
10897         $this->render('smshome',array(
10898             'currentUser' => $userInfo,
10899             'portal'=>PortalUtil::P_SMS
10900         ));
10901     }
10902 
10903 
10904     // 日历营销
10905     public function actionCalendar($date=''){
2024-03-19 11:35:15 nginx/1.11.2 Yii Framework/1.1.14