• Help please. I keep getting this error pertaining to this specific area.

    Message:

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/9/d260170483/htdocs/pettraining/wordpress-2.8/wordpress/wp-content/themes/dog-lover/functions.php:6) in /homepages/9/d260170483/htdocs/pettraining/wordpress-2.8/wordpress/wp-includes/pluggable.php on line 865

    [huge chunk of code moderated – please use a pastebin or link to file]

Viewing 8 replies - 1 through 8 (of 8 total)
  • I am getting the same error…. but on a store-locator

    I am getting the same exact error…does this only happen when you are working with your Plug-ins (deleting them, etc?) That is when mine happens. The action finishes successfully, but it seems like when it wants to reload the page after that action. So far as I can tell at the moment, it is not causing to many problems, but I obviously want to get it resolved.

    Mike

    Same Error for me on the Store Locator Plugin… Any thoughts?

    Hi there

    Iridiax’s FAQ link worked for me: I’d edited a plugin file and must have added some whitespace after the closing ?> tag… I followed the directions in the FAQ article and the problem’s gone away now.

    @iridiax you are so correct with that link. i encountered the same error because i tried inserting a new function in function.php and created a separate php tag <?php ?> and right then on the header error always happens, when i tried placing my functions inside the same <?php ?> every function is residing, i tested the update post function and there was no more error. so cool~ i just don’t know why that happens, i believe it must work like any other coding process do. i’m just confused on that point.

    swwweeeet! glad i found yall! i’ll reiterate the suggestion, cuz they worked after i thought i should keep searching for other posts. i ended up at this situation after i added some things at the header of my functions php. not sure exactly how the main functions interacts with the theme’s functionsphp, but i had to delete some extraneous blank space at the end of my file. somehow it just appeared- possibly by editing in text editor…? after updating my theme’s functions’ file, all seems to be going well.
    (was experiencing while dealing w plugins or attaching an image thru the media library tab)

    Hi,

    It is usually due to spaces, new lines, or other garbage at opening/closing PHP file <?php tag or after a closing ?> tag in wp-config.php. It can be other file too so need to check error message as it may list file name where the error occurred.

    You can either upload error file from the backup or edit erroneous file. To edit the file one need to check below mentioned points:

    1. Download the file mentioned in the error message.
    2. Open that file in a plain text editor
    3. Check that the very first characters are <?php
    4. Check that the very last characters are ?>
    5. Place the cursor between the ? and >
    6. Now press the DELETE key on your computer and keep that key pressed for at least 15 seconds.
    7. Now type > and
    8. Save without pressing any other key at all.

    That’s it!

    Thanks,

    Shane G.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cannot modify header information – pluggable.php on line 865’ is closed to new replies.