Notice (8): Undefined index: Department [APP/Controller/AppController.php, line 140]Code Context * Vérification de l'existence de ce département en DB
*/
if ($d['depname']['Department']['name'] == '') {
$active_config = array(
'Config' => array(
'id' => '1',
'active' => true,
'school_year' => '2015/2016',
'future_school_year' => '2019/2020',
'year' => '2018'
)
)
$id_active_config = '1'
$school_year_active_config = '2015/2016'
$future_school_year_active_config = '2019/2020'
$d = array(
'depname' => array()
)
AppController::beforeFilter() - APP/Controller/AppController.php, line 140
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??
Notice (8): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 140]Code Context * Vérification de l'existence de ce département en DB
*/
if ($d['depname']['Department']['name'] == '') {
$active_config = array(
'Config' => array(
'id' => '1',
'active' => true,
'school_year' => '2015/2016',
'future_school_year' => '2019/2020',
'year' => '2018'
)
)
$id_active_config = '1'
$school_year_active_config = '2015/2016'
$future_school_year_active_config = '2019/2020'
$d = array(
'depname' => array()
)
AppController::beforeFilter() - APP/Controller/AppController.php, line 140
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??