I was stuck at a problem that was easily fixed after I change this lines at Network\Response.php (line 448)
if (headers_sent($file,$line)) {
error_log("Headers already sent: $file($line)");
return;
}
This checks if headers is already sent and if so, do not send them again. Those “file” and “line” shows “who” has already sent anything before. Because I was using ajax, the problem was shown anywhere.
I think this would be a small improvement to CakePHP.
Where should I “propose” it?