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" => 1, "logos" => array("isDefault" => false, "logoUrl" => "https://assets.rrxh5.cc/www/images/v5/h5/logo.png", "href" => "https://rrx.cn/"), "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/h5store3.php(74): CBaseController->widget("BannerMagicWidget", array("currentUser" => array("result" => 1, "msg" => "未登录", "role" => ""), "unReadMessageCount" => 0, "active" => "store"))
69 <div class="ng-scope">
70     <?php $this->widget('BannerMagicWidget', array(
71         "currentUser" => isset($currentUser)?$currentUser:[],
72         'unReadMessageCount' => isset($unReadMessageCount)?$unReadMessageCount:0,
73         'active'=>'store'
74     )) ?>
75 </div>
76 
77 <div ui-view class="ng-scope">
78     <div class="mywsite mywsite-store mywsite-store-home">
79         <!--搜索开始-->
#10
+
 /mnt/www/rrxcn/www/webroot/protected/controllers/SiteController.php(5571): CController->render("application.views.site.h5store3", array("showNewH5" => true, "showWj" => true, "showXcx" => true, "showMall" => true, ...))
5566             'clickCate' => $clickCate,
5567             'bnav' => $bnav,
5568             'isSpider' => self::isSpider(),
5569             'yearStart' => StoreSearchUtil::YEAR_ACTIVITY_START,
5570             'yearTime' => StoreSearchUtil::YEAR_ACTIVITY_TIME,
5571         ));
5572     }
5573     
5574     //endregion
5575 
5576     function getTestSpecialList()
2024-03-29 22:31:41 nginx/1.11.2 Yii Framework/1.1.14