• Resolved nadine00

    (@nadine00)


    I am getting a strange header warning:

    Warning: Cannot modify header information – headers already sent by (output started at /nfs/c06/h02/mnt/88696/domains/dw-wp.com/html/wp-content/themes/dwwp/functions.php:19) in /nfs/c06/h02/mnt/88696/domains/dw-wp.com/html/wp-includes/pluggable.php on line 868

    I’ve followed the FAQ on here, I’ve gone through my functions file. I have deactivated my plugins, and re-uploaded my themes.

    I am still getting this randomly on the wp-admin side.

    Anyone out there have a similar incident and be willing to share what you did?

    Thanks

    Nadine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    One 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.

    Thread Starter nadine00

    (@nadine00)

    Ok, I did that, but I’m still getting the same error. Any other suggestions?

    Please test the following, open up functions.php, remove all the code minus the opening PHP tags, ie. <?php, and paste it in a txt doc if you need it, so you can copy it back later.

    Save, and test your site.

    Alternatively, rename it, create a new empty one, and test the site.

    Thread Starter nadine00

    (@nadine00)

    Works as an empty file, no errors.

    Slowly adding functions back in to see where the issue is.

    Thank you.

    You’re welcome, let me know if you get stuck finding the problem area or fixing the bug.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Header Warning pluggable.php’ is closed to new replies.