Support » Plugin: User Registration Aide » You do not have sufficient permissions to edit this user…

  • Resolved bfranker


    Hello! I posted in the topic about this but since it was marked as “resolved” I’m not sure anybody would look at it so hoping this works 🙂

    I am getting the message “You do not have sufficient permissions to edit this user, contact a network administrator if this is an error!” I have verified it is coming from the user-registration-aide.php file as I added an extra “!” to the end and tried to register another account and it showed up with the double “!!” 🙂

    Anyway, I’m not that great with php or programming but am a bit confused because this comes from an else statement for “if(current_user_can(‘edit_user’, $userID))” around line 880 in the file. However, it seems like I already made it through a similar IF statement around line 829???

    Like I said, maybe that means nothing? Anyway, the data IS put in the database because the newly registered user can log in and the extra fields they input during registration are there. The only thing that appears to be “wrong” is this error and no email is sent to the user.

    Any help would be appreciated. I’ve spent hours turning off other plugins to see what might be causing the problem and even disabled this plugin then re-enabled it (had to redo my registration form after this) and I still have the same results. This seems to have happened to somebody else as posted in the comments section at the author’s web page but no fix was posted.

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author bnovotny


    Just a note, that issue is going to be fixed in the next update and I sent Brent an email with a temporary fix until the update is released.

    if(current_user_can(‘edit_user’, $user_id) || current_user_can(‘create_users’, $user_id)){

Viewing 1 replies (of 1 total)
  • The topic ‘You do not have sufficient permissions to edit this user…’ is closed to new replies.