Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error in messaging system


  • ultimateuser
    Participant

    @ultimateuser

    When trying to compose a message – within the ‘Send To’ field I receive the following error (and in some cases the custom header dissapears):

    Warning: Cannot modify header information – headers already…

    Link to ajax.php: http://pastebin.com/tLgmt4R2
    Link to bp-messages.php: http://pastebin.com/KZQxask3

    When I disable the Friends on my dashboard the error dissapears but when entering the name of the person I want to message it show a dropdown box without suggested friends (so basically blank)…

    Any help is much appreciated

Viewing 8 replies - 1 through 8 (of 8 total)

  • Virtuali
    Participant

    @gunju2221

    Sorry for not noticing your post.

    1. Are you using custom or default theme?
    2. Did you recently add any plugins relating to buddypress?
    3. Did you recently make any changes to the core or any other important files? (functions.php)
    4. What version of buddypress are u using?


    ultimateuser
    Participant

    @ultimateuser

    @gunju2221

    1. Default
    2. Yes Im using quite a lot of plugins
    3. Not to functions and im only using a Child theme
    4. Latest version


    Virtuali
    Participant

    @gunju2221

    Headers Already Sent out errors are almost always caused by blank spaces in the PHP file, check that you don’t have ANY extra spaces in the files first ?php by mistakenly pressing enter. You can compare so see if you have by downloading buddypress and looking at the original file

    Or, an easier way, is to just copy the original file from buddypress. (manually download it on the site)

    Copy the bp-messages.php and ajax.php and paste them into your directories


    ultimateuser
    Participant

    @ultimateuser

    @gunju2221

    Thanks for your advice.

    Ive replaced ajax.php with the original version in:
    …l/wordpress/wp-content/plugins/buddypress/bp-themes/bp-default/_inc

    and functions.php in:
    …/wordpress/wp-content/plugins/buddypress/bp-themes/bp-default

    and bp-messages.php in:
    …/wordpress/wp-content/plugins/buddypress

    It didnt solve the problem :-(


    Virtuali
    Participant

    @gunju2221

    ok, now I am starting to think it’s a conflicting plugin.

    Deactivate All Plugins, but Buddypress temporarily. See if it fixes it.


    ultimateuser
    Participant

    @ultimateuser

    @gunju2221

    Just did that a minute ago. Deactivated all plugins except Buddypress. Didnt work either…


    Virtuali
    Participant

    @gunju2221

    Can you give a link to your site?

    I will register and see what is going on for myself.


    ultimateuser
    Participant

    @ultimateuser

    @gunju2221

    I did a fresh install of WordPress and Buddypress but still have problems. I moved the topic to:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/error-in-buddypress-messaging-please-help/#post-new

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error in messaging system’ is closed to new replies.
Skip to toolbar