Drupal 11 deprecation error details

Call to deprecated function user_role_names(). 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
138 104 200 Drupal API, not rector covered
Filter projects
Project Top X by usage Occurrences Sort ascending
multiple_registration 3.x-dev 1000 5
entity_access_by_role_field 2.0.x-dev 15000 4
user_register_notify 2.x-dev 15000 4
redirect_after_login 2.x-dev 500 3
bulk_user_registration 2.0.x-dev 15000 3
permission_watchdog 2.x-dev 15000 3
parameters 1.2.8 15000 3
cas 2.x-dev 500 2
miniorange_saml 3.0.14 1000 2
add_to_head 1.x-dev 1000 2
photos 6.0.x-dev 15000 2
role_theme_switcher 1.x-dev 15000 2
duplicate_role 1.x-dev 15000 2
field_group_settings 4.0.x-dev 15000 2
domain_login_restrict 1.x-dev 15000 2
views_published_or_roles 1.x-dev 15000 2
content_notification 2.8 15000 2
role_classes 1.0.x-dev 15000 2
displayrole 1.x-dev 15000 2
onelogin_integration 3.0.0 15000 2
decoupled_auth 3.x-dev 15000 2
private_message_flood 2.x-dev 15000 2
backup_permissions 2.x-dev 15000 2
flood_control 2.3.x-dev 200 1
block_visibility_groups 2.0.x-dev 200 1
simplenews 4.x-dev 500 1
rules 3.x-dev 500 1
change_pwd_page 2.x-dev 500 1
content_moderation_notifications 3.x-dev 500 1
field_validation 1.x-dev 500 1
workbench_access 2.0.x-dev 500 1
entity_type_clone 4.0.x-dev 1000 1
cas_attributes 2.x-dev 1000 1
facebook_pixel 2.x-dev 1000 1
hotjar 3.1 1000 1
role_expire 3.x-dev 1000 1
modal_page 5.0.x-dev 1000 1
private_message 3.0.x-dev 1000 1
url_redirect 3.x-dev 1000 1
admin_content_notification 4.1 1000 1
form_mode_manager 3.x-dev 15000 1
user_csv_import 2.0.x-dev 15000 1
crazyegg 1.x-dev 15000 1
ga4_google_analytics 1.1.x-dev 15000 1
email_tfa 2.0.x-dev 15000 1
views_field_permissions 2.x-dev 15000 1
purge_users 4.x-dev 15000 1
miniorange_oauth_client 3.43 15000 1
show_email 1.x-dev 15000 1
vwo 1.x-dev 15000 1
mass_pwreset 2.x-dev 15000 1
d8_google_optimize_hide_page 1.x-dev 15000 1
ldap_auth 1.34 15000 1
webform_double_opt_in 1.x-dev 15000 1
user_email_verification 1.x-dev 15000 1
webform_user_registration 1.x-dev 15000 1
linkedin_insights_tag 1.x-dev 15000 1
oauth_login_oauth2 2.06 15000 1
google_optimize 1.x-dev 15000 1
userlike 1.0.x-dev 15000 1
snippet_manager 2.x-dev 15000 1
user_prune 1.x-dev 15000 1
microsoft_clarity 1.1.x-dev 15000 1
security_login_secure 1.21 15000 1
popup_after_login 9.2.x-dev 15000 1
tether_stats 2.x-dev 15000 1
patternkit 9.1.x-dev 15000 1
user_provisioning 1.22 15000 1
usage_data 2.0.x-dev 15000 1
sharpspring 1.x-dev 15000 1
pingdom_rum 2.0.x-dev 15000 1
advanced_pwa 1.x-dev 15000 1
etracker 3.x-dev 15000 1
umami_analytics 1.x-dev 15000 1
really_simple_google_tag 1.0.x-dev 15000 1
jsnlog 1.x-dev 15000 1
flow 1.0.x-dev 15000 1
snapengage 3.0.x-dev 15000 1
site24x7 1.0.x-dev 15000 1
blazyloading 2.0.0 15000 1
user_referral 3.0.0 15000 1
contacts 3.1.1 15000 1
form_display_visibility 2.x-dev 15000 1
patreon 4.0.x-dev 15000 1
commerce_product_restriction 1.1.0 15000 1
azure_ad_login 1.0.x-dev 15000 1
user_one_time_login 1.0.2 15000 1
okta_user_sync 1.0.5 15000 1
menu_custom_access 2.0.0-beta2 15000 1
user_delete_reassign 1.x-dev 15000 1
recurly_roles 2.x-dev 15000 1
birdseed 1.x-dev 15000 1
crownpeak_autofix 1.0.1 15000 1
admin_role_ui 1.0.x-dev 15000 1
field_visibility_manager 1.0.x-dev 15000 1
copyscape 4.x-dev 15000 1
notificate_insert 2.0.x-dev 15000 1
role_language_negotiation 2.0.x-dev 15000 1
simplenews_subscriber_filters 1.1.x-dev 15000 1
loki 2.0.x-dev 15000 1
poool 1.0.x-dev 15000 1
rest_entity_display 2.0.x-dev 15000 1
login_message 1.0.x-dev 15000 1
danse_moderation_notifications 1.0.x-dev 15000 1


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