Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Cannot modify headers error in Compose message autocomplete (NO white spaces!) (4 posts)

Started 1 year, 2 months ago by: ivar360

  • Profile picture of ivar360 ivar360 said 1 year, 2 months ago:

    Whenever I try to send a private message using compose I get the nickname i’m looking for, but also a long list of the same error:
    “warning: cannot modify header information – headers already sent by (output started at /themes/custom-community/_inc/ajax.php:432) in plugins/buddypress/bp-messages.php on line 556″

    I’ve spent hours searching online for a way to resolve this and despite many people running into this, no thread I could find had an answer. The only thing that keeps being repeated is that there would be a white space before or afther the php tags.
    This is not the case.
    I have removed all white spaces anywere in the ajax.php file and it just changes the line it says the problem is in. I’ve uploaded a fresh ajax.php file and this doesnt help either.

    Anybody figured this out yet?
    BP version 1.2.8
    Custom community theme version 1.6.2
    Here’s the pastebin of my ajax.php file:

    http://pastebin.com/Gj3a2igS

  • Profile picture of @mercime @mercime said 1 year, 2 months ago:

    Upgrade to latest version from @svenl77 and co. – http://themekraft.com/theme/custom-community/ v 1.7.0.2 and see if that fixes it.

    EDIT – Also, download BuddyPress, unzip and re-upload manually to plugins folder i.e. via FTP or cpanel

  • Profile picture of ivar360 ivar360 said 1 year, 2 months ago:

    Tried both, but sadly the error remains the same :(

  • Profile picture of @mercime @mercime said 1 year, 2 months ago:

    Change to bp-default theme and see if erratic behavior exists. If it’s corrected using bp-default theme, check out theme forum of @svenl77 and co. at http://themekraft.com/groups/custom-community/forum for solution/s.