Warning (2): Undefined array key "Reservation" [APP/Model/Reservation.php, line 657]Code Context public function afterFind($results, $primary = false) {
foreach ($results as $key => $val) {
$od = @$val[$this->alias]['online_data'];
Reservation::afterFind() - APP/Model/Reservation.php, line 657
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 242
Model::_filterResults() - CORE/Cake/Model/Model.php, line 3371
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3057
Model::find() - CORE/Cake/Model/Model.php, line 3025
AppMobileController::_getReservationsForIndex() - APP/Controller/AppMobileController.php, line 67
AppMobileController::beforeFilter() - APP/Controller/AppMobileController.php, line 25
UsersController::beforeFilter() - APP/Controller/UsersController.php, line 15
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 115
Warning (2): Trying to access array offset on value of type null [APP/Model/Reservation.php, line 657]Code Context public function afterFind($results, $primary = false) {
foreach ($results as $key => $val) {
$od = @$val[$this->alias]['online_data'];
Reservation::afterFind() - APP/Model/Reservation.php, line 657
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 242
Model::_filterResults() - CORE/Cake/Model/Model.php, line 3371
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3057
Model::find() - CORE/Cake/Model/Model.php, line 3025
AppMobileController::_getReservationsForIndex() - APP/Controller/AppMobileController.php, line 67
AppMobileController::beforeFilter() - APP/Controller/AppMobileController.php, line 25
UsersController::beforeFilter() - APP/Controller/UsersController.php, line 15
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 115