TeachersController::teacher_cancel() - APP/controllers/teachers_controller.php, line 624
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Notice (8): Undefined variable: teacher_id [APP/controllers/teachers_controller.php, line 687]
////PREV NEXT ボタンを押した場合、カレンダの中で先生IDを表示するために先生IDを引数として渡すため
$this->set('reserve_calendar', reserve_calendar($year, $month, $day, $teacher_id));
TeachersController::teacher_cancel() - APP/controllers/teachers_controller.php, line 687
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Notice (8): Undefined variable: teacher [APP/controllers/teachers_controller.php, line 697]
TeachersController::teacher_cancel() - APP/controllers/teachers_controller.php, line 697
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Warning (2): Invalid argument supplied for foreach() [APP/controllers/teachers_controller.php, line 1410]
//先生スケーズルを求める
foreach($teacher['Available_lesson'] as $lesson){
teacherCancelLesson - APP/controllers/teachers_controller.php, line 1410
TeachersController::teacher_cancel() - APP/controllers/teachers_controller.php, line 697
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88