Code Context $first = $this->Contentpage->find('first', array('conditions' => array('Contentpage.slug' => $firstslug, 'Contentpage.parent_id' => null)));
if ($secondslug) {
$second = $this->Contentpage->find('first', array('conditions' => array('Contentpage.slug' => $secondslug, 'Contentpage.parent_id' => $first['Contentpage']['id'])));
$firstslug = 'js'
$secondslug = 'lightbox-plus-jquery.min.map'
$first = array()
ContentpagesController::view() - APP/Controller/ContentpagesController.php, line 23
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 92