Jump to content

Warning: Cannot modify header information - headers already sent by


Recommended Posts

So last night I was changing the amount of posts I wanted on my Thesis Themed Wordpress blog. I went to click the Save button within wordpress and got this message on the next page.

 

"Warning: Cannot modify header information - headers already sent by (output started at /home/content/50/8403650/html/wp-content/themes/thesis_18/custom/custom_functions.php:2) in /home/content/50/8403650/html/wp-includes/pluggable.php on line 934"

 

Now my nav menu doesn't show up and when I go to archives, it gives me the same warning. Can someone please help me with this? Any help would be appreciated.

 

I've added both custom_functions.php and pluggable.php as an attachment, I don't think it has anything to do with pluggable but added just in case.

 

Thanks for your help.

Briannyc

 

[attachment deleted by admin]

I did read it. And that topic did not pertain to the problem.

 

Yes it does. Somewhere you have output before a header is sent. If whatever you changed made this happen, then I would first look there. What is being sent for headers before that function call?

line 934 of your included pluggable.php is a header() call, before this your theme is already outputting data to the browser.

 

you could just use a meta rtedirect versus the header and call it done

 

<meta http-equiv="refresh" content="0;url=URL TO GO TO" /> 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.