I get the bellow error when i go to web users and roles. Any ideas on how to solve this error? much appreciated.
'NoneType' object has no attribute 'getitem'
Request Method: GET
Request URL: http://localhost:8000/a/xxxxxxxxx/settings/users/web/
Django Version: 1.8.17
Exception Type: TypeError
Exception Value:
'NoneType' object has no attribute 'getitem'
Exception Location: /home/commcarehq/commcare-hq/corehq/apps/users/models.py
in ids_of_assigned_users, line 331
Python Executable: /home/commcarehq/bin/python2
Python Version: 2.7.12
Python Path:
['/home/commcarehq/commcare-hq',
'/home/commcarehq/commcare-hq/custom/_legacy',
'/home/commcarehq/commcare-hq/corehq/ex-submodules',
'/home/commcarehq/commcare-hq/submodules/django-prbac-src',
'/home/commcarehq/commcare-hq/submodules/couchdbkit-aggregate',
'/home/commcarehq/commcare-hq/submodules/python-digest',
'/home/commcarehq/commcare-hq/submodules/touchforms-src',
'/home/commcarehq/commcare-hq/submodules/xml2json',
'/home/commcarehq/commcare-hq/submodules/vellum',
'/home/commcarehq/commcare-hq/submodules/commcare-translations',
'/home/commcarehq/commcare-hq/submodules/django-digest-src',
'/home/commcarehq/commcare-hq/submodules/django-no-exceptions',
'/home/commcarehq/commcare-hq/submodules/langcodes',
'/home/commcarehq/commcare-hq/submodules/dimagi-utils-src',
'/home/commcarehq/commcare-hq/submodules/auditcare-src',
'/home/commcarehq/commcare-hq/submodules/formtranslate-src',
'/home/commcarehq/bin',
'/home/commcarehq/lib/python2.7',
'/home/commcarehq/lib/python2.7/plat-x86_64-linux-gnu',
'/home/commcarehq/lib/python2.7/lib-tk',
'/home/commcarehq/lib/python2.7/lib-old',
'/home/commcarehq/lib/python2.7/lib-dynload',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/home/commcarehq/local/lib/python2.7/site-packages',
'/home/commcarehq/local/lib/python2.7/site-packages/newrelic-2.78.0.57',
'/home/commcarehq/lib/python2.7/site-packages/newrelic-2.78.0.57',
'/home/commcarehq/commcare-hq/submodules']