Warning – “Cannot Modify Header Information” Error
This happens when the error is triggered due to a broken code within your page’s header. The message, for instance, appears like this:
Warning: Cannot modify header information - headers already sent by (output started at /yoursite/wp-config.php:1) in /yoursite/wp-includes/pluggable.php on line 1251 Warning: Cannot modify header information - headers already sent by (output started at /yoursite/wp-config.php:1) in /yoursite/wp-includes/pluggable.php on line 1254
Solutions:
1st solution
The warning cannot modify header information – headers already sent by error can be solved in different ways. First, go to wp-config.php and add this code on the first line:
ob_start();
error_reporting(0);
Clean the browser’s cache (if you have any cache plugin installed, try to flush it) and see if the issue was solved.
2nd solution
The solution for me was the windows locale wasn’t on UTF8, and unzipping the files seems to have screwed things up.