Remove space at end of bp_options.php that sent output to browser before headers could send.