Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp-custom.php conflict


  • iperion300
    Participant

    @iperion300

    I have an issue with bp-custom.php. It is conflicting with every plugin I try to install. The functions I add into it works fine (my site runs well), but my dashboard looks terrible and sometimes screen death.
    Warning messages are showed at the top of dashboard. I deactivated all plugins (only buddypress is on – wp version:4.4.2/bpversion:2.5.2) and add the following basic information into file (bp-custom):

    <?php
    // hacks and mods will go here
    ?>

    The file is set: wp-content/plugins and are no space before and after tags.

    The both messages:

    Warning: Cannot modify header information – headers already sent by (output started at mysitepath/wp-content/plugins/bp-custom.php:1) in mysitepath/wp-includes/option.php on line 820

    Warning: Cannot modify header information – headers already sent by (output started at mysitepath/wp-content/plugins/bp-custom.php:1) in mysitepath/wp-includes/option.php on line 821

    If I try to install some plugins, a new message apear related to file pluggable.php line 1228

    Any help?

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

  • shanebp
    Moderator

    @shanebp

    Please use the code button when sharing code.

    You probably have some extra characters before or after the php tags.
    This is not uncommon – google it: ‘bp-custom headers already sent’

    Delete your current bp-custom.php file.
    And create a new one – from scratch.
    There should not be any characters, blank spaces or lines before or after the php tags.


    iperion300
    Participant

    @iperion300

    Sorry about the code. I created right from server and it works. I was uploading from my local (maybe the reason of errors – I checked and there’s no blank space or caracteres before and after tags). Thanks for the help.


    shanebp
    Moderator

    @shanebp

    Spaces and characters may not be visible in your editor – doesn’t mean they aren’t there!
    Your editor may having a settings for that – something like View > Symbols.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar