Code Context
if(is_array($image)){
$mediaBlock['Image'] = $image['Image'];
$mediaBlock = array(
'Media' => array(
'id' => '5a390ed7-cbac-425b-842b-738fbc281ad4',
'class' => 'Image',
'foreign_id' => '5a390ed7-6254-4069-9e35-738fbc281ad4'
),
'MediaBlock' => array(
'id' => '5a390f4e-dbcc-4ce0-b01a-7886bc281ad4',
'media_id' => '5a390ed7-cbac-425b-842b-738fbc281ad4',
'position' => 'header_wi',
'class' => 'Page',
'theme' => 'Website',
'foreign_id' => '55364b22-fe30-4704-b727-43bdbc281ad4',
'order' => '9218750'
)
)
$image = array()
AppController::getImageDetails() - APP/Controller/AppController.php, line 585
AppController::getMediaBlockDetails() - APP/Controller/AppController.php, line 492
PagesController::display() - APP/Controller/PagesController.php, line 183
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109