Code Context $key = 'splash' . $splash['Splash']['id'];
$hash = md5($splash['Splash']['image'] . $splash['Splash']['link']);
$cookie = $_COOKIE[$key];
$now = '2021-04-14'
$splashes = array(
(int) 0 => array(
'Splash' => array(
'id' => '949',
'account_id' => '636',
'image' => '/images/splash/Wellbeing_SPLASH_image_JPG.jpg',
'link' => 'https://garstangcommunityacademy.com/wellbeing',
'date_start' => '2021-02-11',
'date_end' => '2021-04-15',
'active' => true,
'created' => '2021-02-11 09:56:47',
'modified' => '2021-03-26 10:10:13'
)
)
)
$splash = array(
'Splash' => array(
'id' => '949',
'account_id' => '636',
'image' => '/images/splash/Wellbeing_SPLASH_image_JPG.jpg',
'link' => 'https://garstangcommunityacademy.com/wellbeing',
'date_start' => '2021-02-11',
'date_end' => '2021-04-15',
'active' => true,
'created' => '2021-02-11 09:56:47',
'modified' => '2021-03-26 10:10:13'
)
)
$key = 'splash949'
$hash = 'a17ce929b277c8228bd4b1ced890f6cd'
SplashesController::active() - APP/Controller/SplashesController.php, line 43
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104
include - APP/View/Elements/splash.ctp, line 3
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Themed/Bootstrap3/Layouts/default.ctp, line 6
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200