Bug: An Error after Click the Activation Link in Email
-
Hi @r-a-y or anyone
Urgent! I can’t launch the site without fix this bug. I just was testing to complete sign-up and click activation link in the email. I get an error:
`Warning: Cannot modify header information – headers already sent by (output started at /path/wordpress/wp-content/plugins/buddypress/bp-themes/bp-default/registration/activate.php:3) in /path/wordpress/wp-includes/pluggable.php on line 897`
This warning doesn’t tell where the problem was causing the error. It takes me awhile to find the problem. These codes are working from “Duplicate Content: Slash and No Slash at the End of URL” but I found the problem either in functions.php or bp-custom.php or buddypress/bp-core/bp-core-catchuri.php is the same an errors when I clicked the activation link.
`function bp_core_redirect_canonical() {
if ( bp_is_blog_page() )
return;add_action( ‘get_header’, ‘redirect_canonical’, 0 );
}
add_action( ‘bp_loaded’, ‘bp_core_redirect_canonical’ );`OR
`function bp_core_redirect_canonical() {
if ( bp_is_blog_page() )
return;add_action( ‘get_header’, ‘redirect_canonical’, 0 );
}
add_action( ‘init’, ‘bp_core_redirect_canonical’ );`When I deleted the above code the activation link in email is working. Can you fix the above code that I need it before launching the site?
Thanks, Mikey3D
- The topic ‘Bug: An Error after Click the Activation Link in Email’ is closed to new replies.