WordPress.org

Ready to get started?Download WordPress

Forums

Warning: Cannot modify header information - headers already sent by in wordpress (3 posts)

  1. dock9
    Member
    Posted 3 years ago #

    For one of the pages, I am getting the following: "Warning: Cannot modify header information - headers already sent..." but its not involving the wp-config file instead to do with the wp-includes/pluggable.php.

    I have read other entries that have had a similar problem of which it suggests to remove any white space before and after the <?php and ?> tag.
    I have done this and uploaded but the problem still appears.

    Any suggestions on how this can be solved will be much appriciated

  2. David Gwyer
    Member
    Posted 3 years ago #

    Could be a Plugin, or theme code conflict.

    1. Disable your Plugins, and revert your theme to the default Twenty Ten.
    2. Do you still get the error?
    3. If no then switch your theme back. Get the error now?
    4. If no then it is not your theme but a Plugin.
    5. Switch on your Plugins one by one to see which one is causing the problem.

    If you are using WordPress 3.1 and are still having problems check out:

    http://wordpress.org/support/topic/troubleshooting-wordpress-31-master-list?replies=17

  3. dock9
    Member
    Posted 3 years ago #

    I am still getting the same error. I have followed your steps and it hasn't worked.

    the line it keeps refering to in the code is "header("Location: $location");"

    I am not sure how this is a problem and how to fix this problem

Topic Closed

This topic has been closed to new replies.

About this Topic