PHP warning

Undefined array key "submenu"

/customers/5/4/5/bdclab.dk/httpd.www/themes/classic/views/site/pageText.php(7)

01 <div class="row-fluid">
02     <?php
03     $column = $this->columnContent;
04    
05     foreach ($column as $key => $value) { 
06         echo '<div class="' . $key . ' span' . $value['span'] . '">';
07         if (1 == $value['submenu']) {
08             $this->widget('application.myWidgets.SubMenuWidget'
09                     , array(
10                 'menu' => $this->makeSubmenu()
11                     )
12             );
13         }
14    
15         foreach ($value['content'] as $k => $v) {
16             if ($v['alias'] == 'widget_text') {
17                 
18                 echo '<div class="textHolder">';
19                 echo $v['value'];

Stack Trace

#4
+
 /customers/5/4/5/bdclab.dk/httpd.www/protected/controllers/SiteController.php(554): CController->render("pageText")
549      * strony tekstowe
550      */
551     public function actionTypeText() {
552 
553 
554         $this->render('pageText');
555     }
556 
557     /**
558      * lista stron tekstowych
559      */
#5
+
 /customers/5/4/5/bdclab.dk/httpd.www/protected/controllers/SiteController.php(137): SiteController->actionTypeText()
132                     case 18:
133                         $this->actionProductDetail();
134                         break;
135                     default:
136 
137                         $this->actionTypeText();
138 
139                         break;
140                 }
141             }
142         } else {
#13
+
 /customers/5/4/5/bdclab.dk/httpd.www/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-28 17:24:13 Apache Yii Framework/1.1.12