Warning (2): Undefined array key "Category" [APP/Plugin/Document/Controller/DocumentsController.php, line 202]Code Context $this->Document->recursive = 2;
$document= $this->Document->findById($id);
if ($document['Category']['id'])
DocumentsController::view() - APP/Plugin/Document/Controller/DocumentsController.php, line 202
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 504
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 value of type null [APP/Plugin/Document/Controller/DocumentsController.php, line 202]Code Context $this->Document->recursive = 2;
$document= $this->Document->findById($id);
if ($document['Category']['id'])
DocumentsController::view() - APP/Plugin/Document/Controller/DocumentsController.php, line 202
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 504
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