Bug #8397

Profile question

Added by Matt Gold over 4 years ago. Updated almost 4 years ago.

Priority name:
Start date:
Due date:
% Done:


Estimated time:


Hi Ray,

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 ( It tells me, "Sorry, you are not allowed to access this page."

I can navigate to edit my profile another way (reaching 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

Hi Matt,

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.

#2 Updated by Matt Gold over 4 years ago

great -- thanks, Ray, for your answer and quick response. I cc'ed you on my reply

#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.

#4 Updated by Matt Gold over 4 years ago

thanks, Ray. I'm happy to go with whatever you think is best. It's concerning, though, as NYCDH is a straight WP install, right? Should we integrate this fix into CBOX?

#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.

#6 Updated by Matt Gold over 4 years ago

Wow -- that seems like a significant bug! thanks for fixing, Ray

#7 Updated by Raymond Hoh almost 4 years ago

  • Status changed from In Progress to Resolved

Going to mark this as resolved as I've added a temporary fix for NYCDH and BuddyPress is going to release a variation of the fix for v3.0.

Also available in: Atom PDF