Warning (2): Missing argument 1 for EventhomesController::sponsorship() [APP/Controller/EventhomesController.php, line 295]Code Context }
function sponsorship($id){
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 295
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
Notice (8): Undefined variable: id [APP/Controller/EventhomesController.php, line 298]Code Context $this->layout="event_front";
/******* code for event details *******/
$event_dels=$this->getEventDetails($id);
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 298
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
Notice (8): Undefined variable: id [APP/Controller/EventhomesController.php, line 301]Code Context $this->set('event_dels',$event_dels);
/******* code for sponsor details*********/
$spon_list=$this->getSponsorDetailsc($id); //count total no of sponsors
$event_dels = array()
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 301
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
Notice (8): Undefined variable: id [APP/Controller/EventhomesController.php, line 305]Code Context $h=$x/2;
$m=Ceil($h);
$sponsor_dels=$this->getSponsorDetailsl($id,$m);//takes 50% of total sponsors
$event_dels = array()
$spon_list = array()
$x = (int) 0
$h = (int) 0
$m = (float) 0
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 305
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
Notice (8): Undefined variable: id [APP/Controller/EventhomesController.php, line 309]Code Context $p=($x-$m);
$c=Ceil($p);
$sponsor_dels1=$this->getSponsorDetailsr($id,$p);// takes rest of them
$event_dels = array()
$spon_list = array()
$x = (int) 0
$h = (int) 0
$m = (float) 0
$sponsor_dels = array()
$p = (float) 0
$c = (float) 0
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 309
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
Notice (8): Undefined variable: id [APP/Controller/EventhomesController.php, line 312]Code Context $this->set('sponsor_dels1',$sponsor_dels1);
/********* code for announcement details************************/
$an_dels=$this->getAnnouncement($id);
$event_dels = array()
$spon_list = array()
$x = (int) 0
$h = (int) 0
$m = (float) 0
$sponsor_dels = array()
$p = (float) 0
$c = (float) 0
$sponsor_dels1 = array()
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 312
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
Notice (8): Undefined variable: id [APP/Controller/EventhomesController.php, line 315]Code Context $this->set('an_dels',$an_dels);
/*************code for sub page details****************/
$EventsubpageDetails=$this->getEventSubpageContent($id,'Sponsorship');
$event_dels = array()
$spon_list = array()
$x = (int) 0
$h = (int) 0
$m = (float) 0
$sponsor_dels = array()
$p = (float) 0
$c = (float) 0
$sponsor_dels1 = array()
$an_dels = array()
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 315
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
Notice (8): Undefined variable: id [APP/Controller/EventhomesController.php, line 318]Code Context $this->set('ev_sub_page',$EventsubpageDetails);
/***********code for event slider images **************/
$slider_image = $this->getSliderimage($id);
$event_dels = array()
$spon_list = array()
$x = (int) 0
$h = (int) 0
$m = (float) 0
$sponsor_dels = array()
$p = (float) 0
$c = (float) 0
$sponsor_dels1 = array()
$an_dels = array()
$EventsubpageDetails = array()
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 318
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
Notice (8): Undefined variable: id [APP/Controller/EventhomesController.php, line 320]Code Context $slider_image = $this->getSliderimage($id);
$this->set('slider_image',$slider_image);
$file_details = $this->getFiledetails($id,'Sponsorship');
$event_dels = array()
$spon_list = array()
$x = (int) 0
$h = (int) 0
$m = (float) 0
$sponsor_dels = array()
$p = (float) 0
$c = (float) 0
$sponsor_dels1 = array()
$an_dels = array()
$EventsubpageDetails = array()
$slider_image = array()
EventhomesController::sponsorship() - APP/Controller/EventhomesController.php, line 320
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 115
headers were already sent in file: /home/mcimediaweb/public_html/lib/Cake/Utility/Debugger.php, line number: 805