Description
Symfony version(s) affected
6.4.*
Description
My prod.log is full with always the same Line:
php.WARNING: Warning: Cannot modify header information - headers already sent by (output started at localpath/vendor/symfony/http-foundation/Response.php:1315) {"exception":"[object] (ErrorException(code: 0): Warning: Cannot modify header information - headers already sent by (output started at localpath/vendor/symfony/http-foundation/Response.php:1315) at localpath/vendor/symfony/http-foundation/Session/SessionUtils.php:52)"} []
The causing Line (SessionUtils.php:52) removes the cookie Header
header_remove('Set-Cookie');
and the error is generated while flushing the output buffer
ob_end_flush();
Is there anything i can do to fix this?
How to reproduce
sadly i have no Idea, it is just getted logged
Possible Solution
No response
Additional Context
No response