I’m having this issue as well having tried all of the suggestions above – since this is marked as resolved could the OP or somone else who’s had this issue let me know what worked? I’ve been trying to use the link:
< a href=”<?php global $bp; echo bp_core_get_userlink($bp->loggedin_user->id); ?>profile”>My Profile< /a>
And, I don’t know quite enough about coding to know if this would make a difference (I wouldn’t think so!) but I have this within an if/else statement. This is in my main wp theme, not the bp theme.