PHP warning

Attempt to read property "title" on null

/home1/iipemweg/public_html/protected/controllers/SiteController.php(1108)

1096                 if($model->save())
1097                 {
1098                     $msg = "You have successfully subscribed for the event, once admin approve your subscription you will be intimated";
1099                     $this->render('eventSubscribe',array('msg'=>$msg,'item_number'=>$item_number,'item_name'=>$item_name,'amount'=>$amount));
1100                     exit;
1101                     // ApplicationSessions::run()->write('event_subscription_id',$model->event_subscription_id);
1102                     // $this->redirect('eventMakePayment');
1103                     // exit;
1104                 }
1105             }
1106         }
1107         
1108         $this->render('guestSubscription',array('model'=>$model,'title'=>$event->title));
1109     }
1110     
1111     public function actionEventMakePayment()
1112     {
1113         if(!empty($_REQUEST['key']))
1114         {
1115             $model = new Neft;
1116             
1117             $key = explode("-",base64_decode($_REQUEST['key']));
1118             
1119             if(!empty($key[2]))
1120             {

Stack Trace

#7
+
 /home1/iipemweg/public_html/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-29 13:25:40 Apache Yii Framework/1.1.15