You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @zimozy for finding this. I bumped into the same issue. @christianklisch, is this still something you want to maintain? Middleware under Slim 3 requires the solution that @zimozy suggested.
I couldn't perform redirects:
return $response->withRedirect('/page');
I'd get a blank page with an HTTP 200 status code.
I was able to fix this on my machine by changing
$next($request,$response);
to
$response = $next($request,$response);
(Since the Response is immutable as per the user guide.)
The text was updated successfully, but these errors were encountered: