//check if subpage has items and set the appropriate list labelif($subpage && $selectedMenu['items'][$subpage]['items']){ $sidemenu['title'] = $selectedMenu['items'][$subpage]['label'];
App\Controller\ContentController::getSideMenu() - APP/Controller/ContentController.php, line 139
App\Controller\ContentController::display() - APP/Controller/ContentController.php, line 82
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36
Warning (2): Trying to access array offset on value of type null [APP/Controller/ContentController.php, line 139]
//check if subpage has items and set the appropriate list labelif($subpage && $selectedMenu['items'][$subpage]['items']){ $sidemenu['title'] = $selectedMenu['items'][$subpage]['label'];
App\Controller\ContentController::getSideMenu() - APP/Controller/ContentController.php, line 139
App\Controller\ContentController::display() - APP/Controller/ContentController.php, line 82
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36
Warning (2): Undefined array key "histor" [APP/Controller/ContentController.php, line 156]
App\Controller\ContentController::getTranslatedPageUrl() - APP/Controller/ContentController.php, line 156
App\Controller\ContentController::display() - APP/Controller/ContentController.php, line 83
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36
Warning (2): Trying to access array offset on value of type null [APP/Controller/ContentController.php, line 156]
App\Controller\ContentController::getTranslatedPageUrl() - APP/Controller/ContentController.php, line 156
App\Controller\ContentController::display() - APP/Controller/ContentController.php, line 83
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36
Warning (2): Undefined array key 0 [APP/Controller/ContentController.php, line 170]
//get the link of the same menu item in the opposite language menu $link = $this->search($oppositeLangMenu, 'id', $id)[0];
App\Controller\ContentController::getTranslatedPageUrl() - APP/Controller/ContentController.php, line 170
App\Controller\ContentController::display() - APP/Controller/ContentController.php, line 83
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36
Warning (2): Trying to access array offset on value of type null [APP/Controller/ContentController.php, line 172]
App\Controller\ContentController::getTranslatedPageUrl() - APP/Controller/ContentController.php, line 172
App\Controller\ContentController::display() - APP/Controller/ContentController.php, line 83
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36
Warning (2): Undefined array key "histor" [APP/Controller/AppController.php, line 56]
App\Controller\AppController::getPageTitle() - APP/Controller/AppController.php, line 56
App\Controller\ContentController::display() - APP/Controller/ContentController.php, line 85
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36
Warning (2): Trying to access array offset on value of type null [APP/Controller/AppController.php, line 56]
App\Controller\AppController::getPageTitle() - APP/Controller/AppController.php, line 56
App\Controller\ContentController::display() - APP/Controller/ContentController.php, line 85
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 36
Warning (512): Unable to emit headers. Headers sent in file=/var/www/app/canmeds/vendor/cakephp/cakephp/src/Error/Debugger.php line=856 [CORE/src/Http/ResponseEmitter.php, line 51]
if (Configure::read('debug')) { trigger_error($message, E_USER_WARNING);} else {
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51
Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 200
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 202
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 186
[main] - [internal], line ??
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/app/canmeds/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 152]
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 152
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 57
Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 200
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 202
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 186
[main] - [internal], line ??
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/app/canmeds/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 181]
foreach ($values as $value) { header(sprintf('%s: %s',
header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 200
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 202
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 186
[main] - [internal], line ??