Code Context $key = 'splash' . $splash['Splash']['id'];
$hash = md5($splash['Splash']['image'] . $splash['Splash']['link']);
$cookie = $_COOKIE[$key];
$now = '2021-04-13'
$splashes = array(
(int) 0 => array(
'Splash' => array(
'id' => '1019',
'account_id' => '570',
'image' => '/images/splash/school_synergy_splash_screen.jpg',
'link' => 'http://www.balshaws.org.uk/events/2021-03-26-school-synergy',
'date_start' => '2021-03-25',
'date_end' => '2021-04-16',
'active' => true,
'created' => '2021-03-26 15:04:58',
'modified' => '2021-03-26 15:04:58'
)
)
)
$splash = array(
'Splash' => array(
'id' => '1019',
'account_id' => '570',
'image' => '/images/splash/school_synergy_splash_screen.jpg',
'link' => 'http://www.balshaws.org.uk/events/2021-03-26-school-synergy',
'date_start' => '2021-03-25',
'date_end' => '2021-04-16',
'active' => true,
'created' => '2021-03-26 15:04:58',
'modified' => '2021-03-26 15:04:58'
)
)
$key = 'splash1019'
$hash = '3777e0d42ca66d60947847defd8091a8'
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