Fatal error: Call to undefined method UserRestrictions::mask() in \sites\all\modules\user_restrictions\user_restrictions_ui.admin.inc on line 77
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Capture.PNG | 13.49 KB | nortont |
Fatal error: Call to undefined method UserRestrictions::mask() in \sites\all\modules\user_restrictions\user_restrictions_ui.admin.inc on line 77
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Capture.PNG | 13.49 KB | nortont |
Comments
Comment #1
erikvip commentedI've got the same error when trying to access 'admin/config/people/user-restrictions/add'
Comment #2
Anonymous (not verified) commentedComment #3
Anonymous (not verified) commentedI removed all those methods that were accessing the object properties as those properties are now public.
I have committed the changed, and created a new official release.
Thank you for your report.
Comment #4
nortont commentedI installed the new release as I was having the same issue as above.
That issue is fixed but now when adding a rule I get this
PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens: SELECT ur.urid AS urid FROM {user_restrictions} ur WHERE (type = :type AND LOWER(:mask) = LOWER(mask)) ; Array ( [status] => 0 [type] => [mask] => %@lawnlesson.com [submit] => Save rule [form_build_id] => form-80LQ3u9f-f6oGiyQdRmyldBjkeS4dHzy4ZehYmRg3M8 [form_token] => EgNLqBx_fB0kPIawJAUvQC84Go4_F7yb8YzupcnDAos [form_id] => user_restrictions_ui_edit_rule_form [op] => Save rule ) in UserRestrictions::exists() (line 114 of /home/nortroni/public_html/drupal/sites/all/modules/user_restrictions/user_restrictions.classes.inc)...
I also believe there is part of the UI missing per the attached screen shot
Comment #5
nortont commentedComment #7
Anonymous (not verified) commented@nortont: Thank you for your report. May you open a different report, as that is a different issue?