Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp-core-cssjs.php : Line 47 problem (yet another header information warning)


  • SimonJ
    Participant

    @simonj

    Hi there

    We updated both wordpress and buddypress yesterday on a developpement instalation.

    Since then, we have an error when we try to activate plugins.

    Warning: Cannot modify header information – headers already sent by (output started at /PATH/TO/plugins/buddypress/bp-core/bp-core-cssjs.php:40) in /PATH/TO//wp-includes/pluggable.php on line 897

    This problem also occur when we try to activate themes.

    However, when we click the back button from the error, the plugin is indeed activated…

    We replaced the bp-core-cssjs.php with the one from the previous version (1.2.7), and it solved this error.

    The only difference between the two version is at line 47 :

    1.2.8 :
    add_action( is_multisite() ? ‘network_admin_menu’ : ‘admin_head’, ‘bp_core_admin_menu_icon_css’ );

    1.2.7 :
    add_action( ‘admin_head’, ‘bp_core_admin_menu_icon_css’ );

    Does anyone is aware of this problem or can reproduce it?

    Thanks! Keep on truckin!

    S.

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

  • wotacharlie
    Member

    @wotacharlie

    Yup getting the same problem! Not found a fix yet. Is it just plugins for you? I am having various errors in the new Network Admin area – updating user profiles etc


    SimonJ
    Participant

    @simonj

    I did’nt dig too deep when I found this bug. I reproduced this warning with theme and plugins activation and I switched back to the old file from 1.2.7. But it is more than possible that the problem occuer with other section of the admin area.

    Using the old version of the file doesn’t seems to have any side effect though… So it can be considered as a quick bypass to stop the warning… Not a fix, but at least, it’s working.

    S.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘bp-core-cssjs.php : Line 47 problem (yet another header information warning)’ is closed to new replies.
Skip to toolbar