WordPress Error: Warning Cannot modify header information…

Problem:  When trying to login to wordpress, I was getting the error “Warning: Cannot modify header information” and then it was giving me the path to files within my “Beautiful Sunrise” theme.  I wasn’t able to login to my blog…

Solution:  Within the “Beautiful Sunrise”  theme folder, I opened the functions.php file and removed all of the blank lines.  Saved it and I was then able to login back to the site.  Any idea on why this is so?  I have read about this before in the config.php file but would like to know the logic behind this.

Leave a comment

Your email address will not be published.