Project

General

Profile

Actions

Bug #8397

closed

Profile question

Added by Matt Gold almost 7 years ago. Updated about 6 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Start date:
2017-07-07
Due date:
% Done:

0%

Estimated time:

Description

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

Actions #1

Updated by Raymond Hoh almost 7 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.

Actions #2

Updated by Matt Gold almost 7 years ago

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

Actions #3

Updated by Raymond Hoh almost 7 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:
https://bbpress.trac.wordpress.org/ticket/2210

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.

Actions #4

Updated by Matt Gold almost 7 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?

Actions #5

Updated by Raymond Hoh almost 7 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:
https://buddypress.trac.wordpress.org/ticket/7565

And have added a variation of that fix on NYCDH for now.

Actions #6

Updated by Matt Gold almost 7 years ago

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

Actions #7

Updated by Raymond Hoh about 6 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.

Actions

Also available in: Atom PDF