PHP warning

Undefined variable $data

/home/torod15/toroinnovations.com/protected/controllers/SiteController.php(88)

076                     "Content-type: text/plain; charset=UTF-8";
077 
078                 mail(Yii::app()->params['adminEmail'],$subject,$model->body,$headers);
079                 Yii::app()->user->setFlash('contact','Thank you for contacting us. We will respond to you as soon as possible.');
080                 $this->refresh();
081             }
082         }
083         $this->render('contact',array('model'=>$model));
084     }
085 
086     public function actionAbout()
087     {
088         $this->render('about', $data);
089     }
090     
091     public function actionApproach()
092     {
093         $this->render('approach');
094     }
095     
096     public function actionMethods()
097     {
098         $this->render('methods');
099     }
100     

Stack Trace

#7
+
 /home/torod15/toroinnovations.com/app/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 06:28:35 Apache Yii Framework/1.1.12