Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 918
Mohan Ahire Avatar asked Nov 13 '22 07:11

Mohan Ahire


1 Answers

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

https://wordpress.org/support/article/faq-troubleshooting/#how-do-i-solve-the-headers-already-sent-warning-problem

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

like image 79
Lynn Crumbling Avatar answered Dec 28 '22 17:12

Lynn Crumbling