Warning: Cannot modify header information - headers already sent by (output started at /home/

Go To StackoverFlow.com

4

I had created one wordpress site. It was working nicely but now it showing the error as follows :

Warning: Cannot modify header information - headers already sent by (output started at /home/**/public_html/wp-content/themes/**/includes/classy-options-init.php:1) in /home/*/public_html/wp-includes/pluggable.php on line 866

What is exact problem please help me.

2012-04-03 19:38
by Mohan Ahire
Usually, this is just a symptom. Your actual problem is being caused by an error in the code somewhere - Lynn Crumbling 2012-04-03 19:39
Yup either your theme or a plugin is sending header data when it shouldn't. Open up that file goto line 886 and follow the trace back to the culprit - Dave Thomas 2012-04-03 19:41


0

Read up on how to go about troubleshooting this extremely generic error message:

http://codex.wordpress.org/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

Again, this message gives us virtually nothing to work with. Aside from the line # in pluggable.php, the question might as well read "this doesn't work". Try googling for "pluggable.php on line 866" to see some likely causes, since that's all you have to go on at the moment.

Additionally, take a look at your web server (apache?) error logs, and see if you get any more info out of them.

Finally, take a look at other questions involving pluggable.php on SO. They may or may not be a dupe of this issue. For example:

Cannot modify header information - headers already sent by... Wordpress Issue

2012-04-03 19:42
by Lynn Crumbling
Ads