This came in from a NYCDH member -- do you have thoughts?
I'm getting a strange error if I try to access my profile from the upper right avatar menu (http://nycdh.org/wp-admin/profile.php). It tells me, "Sorry, you are not allowed to access this page."
I can navigate to edit my profile another way (reaching http://nycdh.org/members/adonlon/profile/edit/group/1/) so it's not urgent--but I thought I'd let you know.
#1 Updated by Raymond Hoh over 4 years ago
- Status changed from Assigned to In Progress
It appears that adonlon did not have a WordPress role, so that's why the Profile link from the admin bar did not work for her. However, she did have the bbPress role of "participant".
I just updated her WordPress role to "subscriber" so she should be able to access the Profile link as expected now. Can you ask her to verify if this works or not? Can she also describe what page she was on when she tried to click on the Profile link? Was it the WP admin dashboard?
The main issue now is to figure out a user was able to have no role on the main NYCDH site. Will look into this and report back.
#3 Updated by Raymond Hoh over 4 years ago
I've narrowed down the problem to the bbPress plugin.
If you're interested, there is an existing ticket that mentions the problem here:
A workaround could involve adding the WordPress role when a user is activated, instead of having bbPress attempt to hijack the role routine when the activated user logs in.
#5 Updated by Raymond Hoh over 4 years ago
Actually, it appears that the bug occurs with BuddyPress on WordPress multisite installs.
When a user registers and activates their account, no WordPress role is assigned to that user.
I've created a ticket with a fix here:
And have added a variation of that fix on NYCDH for now.