[Resolved] headers already sent – plugins.php
WP 3.5, BP 1.6.4
I’m over-riding members/single/plugins.php for use in a plugin that creates a custom profile page.
I need to use bp_core_add_message() and then bp_core_redirect( wp_get_referer() )
in the plugin to show success / error messages.
This results in the ‘headers already sent’ error due to the use of
get_header( ‘buddypress’ ) in plugins.php
How can I use bp_core_add_message() and avoid that error ?
You must be logged in to reply to this topic.