Forum Replies Created
-
@deraa you problem is another problem. This thread is about not sending exactly one email notification, the “accepted your friendship request” email notification.
@lanvalencia I have tested and I’ve experienced the same problem. The “accepted your friendship request” email notification is not sent.Please, don’t be as silly as me.
If you find yourself having problems with BuddyPress, even with all plugins deactivated, remember to check if there is a bp-custom.php file in your plugins folder.
Once more test.
wp_registration_url()
returnshttps://example.com/wp-singup.php
incorrectly.As soon I deactivate BuddyPress, it returns
https://example.com/wp-login.php?action=register
correctly.With no other active plugin and using a core theme, this just confirm that the problem is in BuddyPress.
I’m really stuck with this issue.
I said it is not a multisite installation, and it is not,
is_multisite()
returnsfalse
. Which is probably what is generating the infinite redirection. In wp-signup.php there are these lines:if ( !is_multisite() ) { wp_redirect( wp_registration_url() ); die(); }
But because
wp_registration_url()
returns incorretly example.com/wp-signup.php when BuddyPress is active, I get the infinte redirection loop.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
insidebp_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 ofbp_get_signup_page()
, the registration page doesn’t work.It is not a multisite installation; I thought also about that because of I saw in the source code something related with multisite and wp-signup.php. But it is not a multisite installation.
The site is http://goo.gl/Znj4nu
Manually going to
wp-login.php?action=register
shows the WordPress registration form and works correctly.