in the error message it will say:
output started by /path/to/page/casing/error.php:4
this is the key to tell you what to look for.
the number after the ":" is the line number. Look in the page that the error is stating is causing the output around the line number being reported. what is the code 3 lines before to 3 lines after the reported line?