Reply To: wp-signup.php infinite redirection loop, register page not recognized
I’ve made some more tests.
In the database, the bp-pages row seems correct and the “register” option is correctly set to the page ID for registration.
If I do this in the header.php of the theme:
var_dump( bp_get_signup_page() );
I get the incorrect value `https://example.com/wp-singup.php
If I do this inside the function bp_get_signup_page() (I’ve tried to include the full code function but the system gives error submiting the post, so I’ve include only the modified lines of the function):
var_dump( $page );
return apply_filters( 'bp_get_signup_page', $page );
I get the correct value http://example.com/register/.
If I remove the filter bp_get_signup_page inside bp_get_signup_page() , just to check if there is some filter altering the value:
return $page;
Then I get the correct value in the header.php of the theme, but if I go to http://example.com/register/, the page doesn’t shows the registration form.
It seems that there is some bp_get_signup_page filter changing the value but the problem exists without any other active plugin and with a core theme, so it have to be a filter insdie BuddyPress itself. Anyway, with the correct value of bp_get_signup_page(), the registration page doesn’t work.