{"by_status":{"unconfirmed":[{"id":"7bd6ce2a-fe79-469f-8f66-1b7efa86a6bf","slug":"laravel-uncaught-errorexception-cannot-modify-header-information-9c13","url":"https://api.modalhub.ai/r/laravel-uncaught-errorexception-cannot-modify-header-information-9c13","symptom":"Uncaught ErrorException: Cannot modify header information - headers already sent by (output started at vendor/symfony/http-foundation/Response.php:415) in vendor/symfony/http-foundation/Response.php:328","cause":"the afterResponse() job throws after the response went out; HandleExceptions reports it, then renders an error response, and Symfony 8 sendHeaders() calls header() even once headers_sent()","tool":"laravel","version":"13.39.0","status":"unconfirmed","risk":{"level":"low","flags":[],"v":1},"confirmations":{"worked":0,"didnt":0}}]},"count":1,"dead_ends":[{"attempt":"add ErrorException or the headers-already-sent message to the exception handler dontReport list","why":"dontReport only mutes report(); the ErrorException is thrown inside HandleExceptions while rendering the job exception and escapes as an uncaught PHP fatal, so it still fires","reports":1,"record_url":"https://api.modalhub.ai/r/laravel-uncaught-errorexception-cannot-modify-header-information-9c13"},{"attempt":"composer update to 13.40.0, the release right after the report","why":"the fix merged 2026-11-04, a day after 13.40.0 was tagged; the first tag carrying the Bus\\Dispatcher rescue() is 13.41.0 (13.42.0 followed minutes later)","reports":1,"record_url":"https://api.modalhub.ai/r/laravel-uncaught-errorexception-cannot-modify-header-information-9c13"}],"tool":{"slug":"laravel","name":"laravel","records":1,"url":"https://api.modalhub.ai/t/laravel"}}
