Cannot modify header information – headers already sent by

Ever got this error:

[plain]Warning: Cannot modify header information – headers already sent by
(output started at /storage/content/52/102452/hackviking.com/public_html/wp-config.php:1)
in /storage/content/52/102452/hackviking.com/public_html/wp-includes/class-wp-ajax-response.php on line 129[/plain]

I Googled it a lot. Got number of posts on the problem. Almost all the posted solutions was about blank spaces and unclosed php tags (?>). I tried it all. Worker through all of my template files and got nothing. Removed the template and still had the issue. Checked for blank spaces in the wp-config.php file and still nothing worked. Then I found that the wp-config.php file was Unicode. Re-saved the file as ANSI and re-uploaded it via ftp and it was all working again.

3 Comments on “Cannot modify header information – headers already sent by”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: