// Get last page and its parents $page = $this->Event->Page->find('first', array('conditions'=> array('Page.id' => $page_ids[count($page_ids) - 1],
EventsController::show() - APP/controllers/events_controller.php, line 239
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 83
Notice (8): Undefined offset: -1 [APP/controllers/events_controller.php, line 242]
EventsController::show() - APP/controllers/events_controller.php, line 242
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 83