Notice: Uninitialized string offset: 0 in user_edit_form() (line 1491 of /var/www/crm.abi.org/public/modules/user/user.module).
Notice: Uninitialized string offset: 0 in user_edit_form() (line 1499 of /var/www/crm.abi.org/public/modules/user/user.module).
Notice: Undefined index: name in user_readonly_admin_settings() (line 143 of /var/www/crm.abi.org/public/sites/default/modules/user_readonly/user_readonly.module).
Notice: Undefined index: mail in user_readonly_admin_settings() (line 143 of /var/www/crm.abi.org/public/sites/default/modules/user_readonly/user_readonly.module).
Notice: Undefined index: pass in user_readonly_admin_settings() (line 143 of /var/www/crm.abi.org/public/sites/default/modules/user_readonly/user_readonly.module).
Notice: Undefined index: status in user_readonly_admin_settings() (line 143 of /var/www/crm.abi.org/public/sites/default/modules/user_readonly/user_readonly.module).
Notice: Undefined index: roles in user_readonly_admin_settings() (line 143 of /var/www/crm.abi.org/public/sites/default/modules/user_readonly/user_readonly.module).

Patch attached.

CommentFileSizeAuthor
user_readonly.module.patch329 bytesevgeny.chernyavskiy

Comments

Bastlynn’s picture

Status: Needs review » Closed (fixed)

I wasn't seeing the same errors on my system, but your patch changes aren't bad ones - checking that data is there before referencing it is always wise. Given that, I've rolled your changes into the 6.x branch, so you should see that on the next release.