Warning (2): Undefined array key "Category" [APP/Plugin/Photo/Controller/AlbumsController.php, line 258]Code Context<?php $this->Album->recursive = 2;
<?php $album = $this->Album->findById($id);
<?php if ($album['Category']['id'])
AlbumsController::view() - APP/Plugin/Photo/Controller/AlbumsController.php, line 258
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/Photo/Controller/AlbumsController.php, line 258]Code Context<?php $this->Album->recursive = 2;
<?php $album = $this->Album->findById($id);
<?php if ($album['Category']['id'])
AlbumsController::view() - APP/Plugin/Photo/Controller/AlbumsController.php, line 258
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