Hi all ,
I have a problem when i upload my site with slim v2.5 and i get this error:
“Error A website error has occurred. The website administrator has been notified of the issue. Sorry for the temporary inconvenience.”.
After i use composer update to slim v3 and i get this error:
“Fatal error: Uncaught Error: Class 'Slim\Middleware\SessionCookie”
i use this function:
$builder = new CaptchaBuilder;
$app->add(new \Slim\Middleware\SessionCookie(array(‘secret’ => ‘myappsecret’, ‘expires’ => ‘30 minutes’)));
How i can update this function for Slim v3?
Thanks in advance