PHP notice

Undefined index: Subject

D:\home\www\qdkt\protected\modules\home\views\u2\detail.php(61)

49         519 => 1243,
50     ];
51     $downs = rand(503,1200);
52     if (in_array($gameId, array_keys($sdowns))) {
53         $downs = $sdowns[$gameId];
54     }
55 ?>
56 <div class="main">
57     <div class="container cf">
58         <div class="bread-crumb">
59             <ul>
60                 <li><a href="<?php echo DOMAIN;if(PRM){echo "?promoter=".PRM;}?>"><?php echo $GLOBALS["LANG"]->navigation_index;?></a><span class="add-m">&gt;</span></li>
61                 <li><?php echo $GLOBALS["LANG"]->$data['Subject'];?></li>
62             </ul>
63         </div>
64         <div class="app-intro cf">
65             <div class="app-info">
66                 <img class="yellow-flower" src="/public/upfiles/<?php echo $data['IconURL']; ?>" alt="<?php echo $data['GameName']; ?>" width="114" height="114">
67                 <div class="intro-titles">
68                     <p><?php echo $GLOBALS["LANG"]->company;?></p>
69                     <h3><?php echo $data['GameName']; ?></h3>
70                     <p class="special-font action"><b><?php echo $GLOBALS["LANG"]->category;?>:</b><?php echo $GLOBALS["LANG"]->$data['Subject'];?></p>
71                     <div class="star1-empty"><div class="star1-hover star1-8"></div></div>
72                     <span class="app-intro-comment">( <?php echo $downs.$GLOBALS["LANG"]->detail->times_score; ?> )</span>
73                     <div class="app-info-down">

Stack Trace

#4
+
 D:\home\www\qdkt\protected\modules\home\controllers\U2Controller.php(74): CController->render("detail", array("gameId" => "412", "data" => array(), "images" => array(array("id" => "899", "game_id" => "412", "img_url" => "images/20170918172959.png", "atime" => "2017-09-18 17:29:59.000", ...), array("id" => "898", "game_id" => "412", "img_url" => "images/20170918172949.png", "atime" => "2017-09-18 17:29:49.000", ...), array("id" => "897", "game_id" => "412", "img_url" => "images/20170918172938.png", "atime" => "2017-09-18 17:29:38.000", ...))))
69             $viewData = array(
70                 'gameId' => $gameID,
71                 'data' => $result,
72                 'images' => $images
73             );
74             $this->render('detail', $viewData);
75         }
76     }
77     /**
78      * 搜索
79      */
#12
+
 D:\home\www\qdkt\index.php(51): CApplication->run()
46 // remove the following lines when in production mode
47 defined('YII_DEBUG') or define('YII_DEBUG',TRUE);
48 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
49 
50 require_once($yii);
51 Yii::createWebApplication($config)->run();
2024-03-28 22:23:41 Apache/2.4.9 (Win32) PHP/5.5.12 Yii Framework/1.1.17