Code Context ]);
$this->set(compact('blogPosts', 'socialMetaImage', 'postsCount', 'sidePosts', 'gallery'));
$conditions = array(
'BlogPost.active' => true,
'OR' => array(
(int) 0 => 'BlogPost.publication_date < DATE(NOW())',
(int) 1 => array(
(int) 0 => 'BlogPost.publication_date = DATE(NOW())',
(int) 1 => 'BlogPost.publication_time <= TIME(NOW())'
)
)
)
$order = array(
'BlogPost.publication_date' => 'DESC',
'BlogPost.publication_time' => 'DESC'
)
$contain = array(
(int) 0 => 'MediaCover'
)
$postsCount = (int) 0
$blogPosts = array()
$blogPostIds = array()
$socialMetaImage = ''
$gallery = array()
compact - [internal], line ??
BlogPostsController::index() - APP/Controller/BlogPostsController.php, line 137
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 117