I edited line 238 of buddypress-profile-completion/src/core/class-bp-profile-completion-helper.php to:
$redirect_url = bp_core_get_user_domain( $user_id ) . “/” . bp_get_profile_slug();
It now works but I am not a coder and that is probably a sloppy way to fix it.
Hello,
Sorry for the inconvenience. You do not need to add a slash at the end of the redirect URL as it already adds ‘/’ at the URL’s end of URL. Please let me know which version of BuddyPress you are using.
PS: Direct modification of the plugin code is not a good way as it will vanish on plugin updates.
Regards
To be clear, I did not add a slash to the end of the redirect url but rather in between the username (ralphie) and profile. The redirect url leaves out that slash so I get the error. I realize my “fix” is a rather clumsy way to do it but it works. I updated to 12.1.1 but that made no difference.
Hello,
Thank you for the acknowledgement. I have checked it on my local server and found that the permalink structure causing this issue. Please try with a different permalink structure that ends with ‘/’ and let me know if the issue persists or not.
Regards
Yes! Putting a / at the end of the Permalink seems to have solved the problem. Thank you for your prompt reply and resolution. It is much appreciated!