Notice (8): Undefined index: catName [APP/Controller/EventsController.php, line 124]Code Context }
$catName = $_REQUEST['catName'];
$checkPreEvent = '0'
$checkNextEvent = '0'
EventsController::jsonEvent() - APP/Controller/EventsController.php, line 124
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined index: PostsLive [APP/Controller/EventsController.php, line 129]Code Context
$getLastEvent = $this->PostsLive->find('first',array('order'=>'start_time DESC', 'conditions'=>array('PostsLive.deal_category'=>$catName,'PostsLive.post_type'=>'event','PostsLive.deleted'=>'0')));
$startTimearr = explode('-',$getLastEvent['PostsLive']['start_time']);
$checkPreEvent = '0'
$checkNextEvent = '0'
$catName = null
$getLastEvent = array()
EventsController::jsonEvent() - APP/Controller/EventsController.php, line 129
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Undefined offset: 1 [APP/Controller/EventsController.php, line 130]Code Context $getLastEvent = $this->PostsLive->find('first',array('order'=>'start_time DESC', 'conditions'=>array('PostsLive.deal_category'=>$catName,'PostsLive.post_type'=>'event','PostsLive.deleted'=>'0')));
$startTimearr = explode('-',$getLastEvent['PostsLive']['start_time']);
$startMonth = $startTimearr[0].'-'.$startTimearr[1].'-01';
$checkPreEvent = '0'
$checkNextEvent = '0'
$catName = null
$getLastEvent = array()
$startTimearr = array(
(int) 0 => ''
)
EventsController::jsonEvent() - APP/Controller/EventsController.php, line 130
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118