PHP notice

Undefined variable: itemsSlider

/var/www/sitios/old/protected/controllers/EspecialidadesController.php(147)

135                        $itemsSlider[]=array('image'=>'images/imgHome/carreras/'. $especialidad .'/'.$i.'diptico.jpg?rx='.$nran,
136                                                  //'label'=>$value['titulo'], 
137                                                  //'caption'=>'<a href="'.$value['url'].'">'.$value['titulo'].'</a>',
138                                                  //'link'=>$value['url']
139                                                  );
140                     }
141                 }
142 
143                 $this->render('slider',array(
144                     'especialidad'=>$especialidad,
145                     'model'=>$model,
146                     'modelPlan'=>$modelPlan,
147                     'slider'=>$itemsSlider,
148                     'especialidad'=>$especialidad
149                 ));
150     }
151 
152 
153     /**
154      * Creates a new model.
155      * If creation is successful, the browser will be redirected to the 'view' page.
156      */
157     public function actionCreate(){
158         $model=new Especialidades;
159 

Stack Trace

#14
+
 /var/www/sitios/old/index.php(19): CApplication->run()
14 defined('YII_DEBUG') or define('YII_DEBUG',true);
15 // specify how many levels of call stack should be shown in each log message
16 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
17 
18 require_once($yii);
19 Yii::createWebApplication($config)->run();
20 ?>
2024-03-29 06:27:35 Apache/2.4.52 (Ubuntu) Yii Framework/1.1.13