Warning (2): Undefined array key "Category" [APP/Plugin/Question/Controller/QuestionsController.php, line 224]Code Context<?php $this->Question->recursive = 2;
<?php $question = $this->Question->findById($id);
<?php if ($question['Category']['id'])
QuestionsController::view() - APP/Plugin/Question/Controller/QuestionsController.php, line 224
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 500
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80
Warning (2): Trying to access array offset on null [APP/Plugin/Question/Controller/QuestionsController.php, line 224]Code Context<?php $this->Question->recursive = 2;
<?php $question = $this->Question->findById($id);
<?php if ($question['Category']['id'])
QuestionsController::view() - APP/Plugin/Question/Controller/QuestionsController.php, line 224
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 500
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 80