I just recently shared a link to my site using he http to my site: but instead of redirecting, i just displays this:
Warning: Cannot modify header information - headers already sent by (output started at /home/thecmltm/public_html/index.php:1) in /home/thecmltm/public_html/wp-includes/pluggable.php on line 1281
Warning: Cannot modify header information - headers already sent by (output started at /home/thecmltm/public_html/index.php:1) in /home/thecmltm/public_html/wp-includes/pluggable.php on line 1284
I have searched all over the web but they all talk about function.php or wp_configure.php but that is not what my problem is. I have tried editing the index.php but nothing is wrong with it.
When i search with , nothing happens and my blog posts and pictures all appear!
Please help me. Thanks in advance!
I just recently shared a link to my site using he http to my site: http://thechronicalist but instead of redirecting, i just displays this:
Warning: Cannot modify header information - headers already sent by (output started at /home/thecmltm/public_html/index.php:1) in /home/thecmltm/public_html/wp-includes/pluggable.php on line 1281
Warning: Cannot modify header information - headers already sent by (output started at /home/thecmltm/public_html/index.php:1) in /home/thecmltm/public_html/wp-includes/pluggable.php on line 1284
I have searched all over the web but they all talk about function.php or wp_configure.php but that is not what my problem is. I have tried editing the index.php but nothing is wrong with it.
When i search with https://thechronicalist, nothing happens and my blog posts and pictures all appear!
Please help me. Thanks in advance!
Share Improve this question edited Oct 17, 2020 at 13:09 THE CHRONICALIST asked Oct 17, 2020 at 12:34 THE CHRONICALISTTHE CHRONICALIST 12 bronze badges 01 Answer
Reset to default 1The headers already sent
message means that something -- a plugin or a theme, usually -- is sending output before it's meant to. Often this is due to whitespace appearing in a file after the closing ?>
tag, which can make it hard to find the culprit.
The fact that pluggable.php
is mentioned tells me that it's most likely a plugin that's replacing some of WordPress's pluggable functionality. Often this is related to user management, though there are other pluggable functions.
The usual advice in this situation is to turn off all your plugins and switch to a default theme. If the problem goes away, then the culprit is a plugin or the theme you were using. Turn them back on one by one until the problem recurs. Now you've found the culprit. You will then know who you need to reach out to for support.
Pluggable Functions -- it's possible, too, that there's a plugin attempting to do HTTP->HTTPS redirection, and that might be causing you grief.