PHP notice

Undefined index: comm

/var/www/html/www.mplus.fun/app/htmlv2/module/common/header.php(2)

01 <?php
02 $comm = $model['comm'];
03 $urls = $comm['urls'];
04 
05 $_data = array(
06     'logined' => false,
07     'screen_name' => "",
08     //'unread' => 99,
09 );
10 
11 if(isset($model["mods"]["loginStatus"])){
12     $loginStatus = $model["mods"]["loginStatus"];
13     $user = $loginStatus["user"];
14     $_data["logined"] = true;

Stack Trace

#0
+
 /var/www/html/www.mplus.fun/app/htmlv2/404.php(7): include_once("/var/www/html/www.mplus.fun/app/htmlv2/module/common/header.php")
02 
03 <!-- no common styles -->
04 </head>
05 <body layout="error">
06 
07 <?php include_once('module/common/header.php');?>
08 
09 <div id="bd">
10     <div class="inner full-width clearfix">
11         <?php include_once('module/404.php');?>
12     </div>
#1
+
 /var/www/html/www.mplus.fun/app/components/Controller.php(50): include_once("/var/www/html/www.mplus.fun/app/htmlv2/404.php")
45         $model['comm']['before_body']['title'] = $title;
46     }
47     public function displayV2($path)
48     {
49         global $model;
50         include_once(TPL_PATHV2 . $path);
51     }
52     public function setKeywordsV2($keywords) {
53         global $model;
54         $model['comm']['before_body']['keywords'] = $keywords;
55     }
#2
+
 /var/www/html/www.mplus.fun/app/controllers/RewardController.php(25): Controller->displayV2("404.php")
20             array('application.filters.CommonDataFilter'),
21             array('application.filters.LoginStatusFilter'),
22         );
23     }
24     public function filterDisabled($filterChain) {
25         $this->displayV2("404.php");
26         return false;
27     }
28     public function actionIndex() {
29         // Check if new user to point system, create it
30         $this->attach('reward', array(
2024-03-28 21:17:56 nginx Yii Framework/1.1.10