Undefined index: role in user_permissions_form_user_filter_form_alter() (line 152 /.../sites/all/modules/user_permissions/user_permissions.module).
Notice: Undefined index: Add a role to the selected users in user_permissions_form_user_admin_account_alter() (line 165 .../sites/all/modules/user_permissions/user_permissions.module).

Comments

BenK’s picture

Subscribing

BenK’s picture

I'm also curious about the status of the current Drupal 7 port... does anyone have any information on that?

--Ben

luckystrikerin’s picture

subs

lav83’s picture

will this module be ever updated or is it over now, I was able to fix the above issue but problem comes when checkboxes have to be selected as it is not taking theme

ownage’s picture

Priority: Normal » Critical

I also get this error, and clicking User Permissions tab renders the following error in core v7.8.x:

Fatal error: Call to undefined function user_admin_perm() in /sites/all/modules/user_permissions/user_permissions.module on line 56

Will this very useful module ever be updated? I'm here to beta test if someone wants to offer a helping hand.

threewestwinds’s picture

Assigned: Unassigned » threewestwinds

I believe that my patch in #1363246: D7 Port of User Permissions fixes this. Please try it out and let me know. I'm not posting here, since it's much more comprehensive than a solution to this single issue.

If this issue continues to occur, please let me know - otherwise, I'll let someone else close this topic.

threewestwinds’s picture

Priority: Critical » Normal
preventingchaos’s picture

Status: Active » Closed (fixed)

I just updated User Permissions, so this should work fine for you now. Try the 7.x-1.1 release.

b-prod’s picture

Assigned: threewestwinds » Unassigned
Status: Closed (fixed) » Needs review
StatusFileSize
new4.34 KB

This issue is still not fixed.

This bug actually occurs on multilingual sites, in languages other than English. In such cases the key does not match because it is translated.

The patch below uses an other approach that takes care of this fact.

b-prod’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)
Related issues: +#1722158: Notice: Undefined index: "Add a role to the selected users"