I have installed the module, but I get this message after attempting to configure. (in RED at the top)
Notice: Undefined index: #field_name in user_readonly_admin_settings() (line 79 of /home/tsstrsvp/public_html/BRC-v1.0/sites/all/modules/user_readonly/user_readonly.module).
---------------------------------------------------------------------------------------------------------------------------------------
Then when I test the configuration and try to edit the user account, I see this error at the top
Notice: Undefined index: #field_name in user_readonly_form_alter() (line 238 of /home/tsstrsvp/public_html/BRC-v1.0/sites/all/modules/user_readonly/user_readonly.module).
I can save the changes , but the Notice at the top is in Red.
What am I missing?
| Comment | File | Size | Author |
|---|---|---|---|
| User Read Only- After Save 3 10 2013.jpg | 113.79 KB | brkelner | |
| User Read Only- Edit 3 10 2013.jpg | 116.3 KB | brkelner |
Comments
Comment #1
stephenrobinson commentedI added a new user field, which doesn't show up on the config page for user_readonly, and get this error whenever someone goes to edit their profile:
looked at debug:
ok so the good object looks like:
and the bad none:
Comment #2
stephenrobinson commentedI can get this error to go away by adding:
Comment #3
mikolaskova commentedHi,
I tried to solve the problem, by inserting your code (#2) at link 238.
I commented the code that was there:
but this did not help really, still 'Undefined index'
how did you solve this problem?
regards
Adriana
Comment #4
stephenrobinson commentedI uninstalled it and did it myself
Comment #5
mikolaskova commentedthanks... so unless anybody has a solution to the 'undefined index' i will have to solve similar as you- thanks for the exemple!
Comment #6
dankh commented@SangersDrupalDude thanks for the hint, did the same ! But this module can be really handy if it was maintained.
Comment #7
logii commentedhttps://www.drupal.org/node/1253440