Sometimes, when looking through your Magento log files, you might stumble upon the “Cannot send headers; headers already sent in …” message. One possible reason for that could be a space or a newline behind a closing PHP tag (?>). To solve the problem, just open the file being mentioned in the log file and remove the space or newline.

Solving “Cannot send headers; headers already sent” problem
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!
Keywords: