Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Lost admin access after 2.o update

@lchief

Participant

I am maybe making a mistake, but are these must-have?

delete_user_option( $user_id, 'capabilities' );
delete_user_option( $user_id, 'user_level'   );

EDIT: I dunno what’s happening, I restored the DB and I am using multiple sites with one usermeta and user table. When I did not log into the site which is running with BP 2.0 I have admin rights on the others, but when I log in I lost everything.

Skip to toolbar