WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Buddypress Messages : Headers Already Sent errors

[Resolved] Buddypress Messages : Headers Already Sent errors

  • Hi all,

    When I try to enter a recipient’s name to send a Buddypress message, I get this error in the Ajax drop-down (where it suggests members as you type):

    Warning: Cannot modify header information – headers already sent by (output started at /home/johnn7/public_html/fusionconcepts/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:556) in /home/johnn7/public_html/fusionconcepts/wp-content/plugins/buddypress/bp-messages.php on line 549

    Warning: Cannot modify header information – headers already sent by (output started at /home/johnn7/public_html/fusionconcepts/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:556) in /home/johnn7/public_html/fusionconcepts/wp-content/plugins/buddypress/bp-messages.php on line 550

    Warning: Cannot modify header information – headers already sent by (output started at /home/johnn7/public_html/fusionconcepts/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:556) in /home/johnn7/public_html/fusionconcepts/wp-content/plugins/buddypress/bp-messages.php on line 551

    I know that “headers already sent” usually means that there are unexpected spaces in the code but I have tried eliminating extra line breaks and that just makes the error messages point to different line numbers.

    This is w/ WP 3.01, Buddypress 1.2.5.2 w/ the Default Buddypress theme.

    Thanks for any help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    @macmanx

    You have unexpected whitespace (either a space or an entire line) on line 556 of the /wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php file. See this guide for more info.

    Alternatively, replacing the file with one from a fresh download may resolve the issue.

    Thanks James. I was looking for whitespace in bp-messages.php

    Moderator James Huff

    @macmanx

    You’re welcome!

    I am still having trouble with this error and I have tried deleting all white-space and downloading the updated files and applying them.

    This exact problem has been driving me mad for a few days now. All the info I can find is to remove whitespaces, but that does not fix the bug in my case. I also tried replacing my ajax.php with one from a fresh download with no results. Has anybody figured out the way to get rid of this message?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Buddypress Messages : Headers Already Sent errors’ is closed to new replies.
Skip to toolbar