PHP error: Cannot modify header information
- After copying a Web project from Windows to Linux the following error comes up
Warning: Cannot modify header information - headers already sent by (output started at /customers/3/7/d/hhufs.de/httpd.www/blog/wp-content/themes/twentyfifteen/php/parseXML_Wrapper.php:49) in /customers/3/7/d/hhufs.de/httpd.www/blog/wp-includes/pluggable.php on line 1207 From PSR-2 2.2 : All PHP files MUST use the Unix LF (linefeed) line ending. All PHP files MUST end with a single blank line. The closing ?> tag MUST be omitted from files containing only php Fix : remove closing PHP tag [ ?> ] from parseXML_Wrapper.php Reference: http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php