WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Buddypress Messages : Headers Already Sent errors (6 posts)

  1. Jonas Grumby
    Member
    Posted 3 years ago #

    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.

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

  3. Jonas Grumby
    Member
    Posted 3 years ago #

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

  4. You're welcome!

  5. timothy-jr
    Member
    Posted 3 years ago #

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

  6. ivar360
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic