Drupal 11 deprecation error details

Call to deprecated function user_roles(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal​\​user​\​Entity​\​Role::loadMultiple() and, if necessary, an inline implementation instead.

Occurence count Affected project count Occurs in a top X project by usage Category
100 61 200 Drupal API, not rector covered
Filter projects
Project Top X by usage Occurrences Sort ascending
rac 2.x-dev 15000 8
tmgmt 1.x-dev 500 6
role_inheritance 1.x-dev 15000 5
contacts 3.1.1 15000 5
role_expire 3.x-dev 1000 4
extra_siteinfo 2.0.x-dev 15000 4
flag 4.x-dev 500 3
file_entity 2.x-dev 500 3
content_access 2.0.x-dev 500 2
registration_role 2.x-dev 1000 2
delete_all 3.0.0 1000 2
vertical_tabs_config 2.0.0 15000 2
shortcutperrole 2.0.x-dev 15000 2
entity_limit 3.0.0-beta1 15000 2
semantic_connector 2.0.0-beta2 15000 2
crm_core 3.x-dev 15000 2
contact_form_roles 1.x-dev 15000 2
sitemap 2.x-dev 200 1
field_permissions 2.x-dev 200 1
entity_print 2.x-dev 200 1
username_enumeration_prevention 1.x-dev 500 1
lang_dropdown 2.x-dev 500 1
administerusersbyrole 3.x-dev 500 1
datalayer 2.0.x-dev 500 1
social_auth 4.1.x-dev 1000 1
nodeaccess 2.0.x-dev 1000 1
fpa 4.0.x-dev 1000 1
gutenberg 2.x-dev 1000 1
tac_lite 1.x-dev 15000 1
stickynav 1.x-dev 15000 1
photos 6.0.x-dev 15000 1
user_default_page 9.0.x-dev 15000 1
search_api_sort_priority 1.x-dev 15000 1
required_by_role 1.x-dev 15000 1
view_profiles_perms 2.1.x-dev 15000 1
gin_toolbar_custom_menu 1.0.x-dev 15000 1
bueditor 3.x-dev 15000 1
edit_profiles_perms 1.1.0 15000 1
change_requests 2.1.1 15000 1
civicrm_member_roles 1.x-dev 15000 1
select_registration_roles 2.0.x-dev 15000 1
social_auth_roles 1.x-dev 15000 1
likeit 3.1.x-dev 15000 1
pagedesigner_favourite 4.0.0-alpha1 15000 1
jira_issue_collector 1.x-dev 15000 1
course 3.x-dev 15000 1
oauth_server_sso 2.0.11 15000 1
backup_permissions 2.x-dev 15000 1
licensing 2.0.1 15000 1
apsis_mail 3.2.0 15000 1
webtrees 2.5 15000 1
shutdown 2.0.x-dev 15000 1
user_visits 2.0.x-dev 15000 1
user_mailman_register 1.0.x-dev 15000 1
zendesk 3.0.x-dev 15000 1
abstractpermissions 1.x-dev 15000 1
azure_oauth_sso 1.0.x-dev 15000 1
omeda_customers 2.0.0-alpha3 15000 1
entity_agree 2.0.x-dev 15000 1
site_assistant 10.0.x-dev 15000 1
test_users 1.0.x-dev 15000 1


Results are from dataset #134788 from 2024-04-01T19:47. Report is ran by the Drupal Association regularly.