Notice: Undefined index: new_role in uc_roles_user_presave()

Created on 22 January 2011, about 14 years ago
Updated 1 January 2025, 22 days ago

I am getting the following two notices when I create a new user account. The account I created manually was using the same role that I have configured to be used as a UC role assignment.

Notice: Undefined index: new_role in uc_roles_user_presave() (line 413 of /Volumes/WORK/paul/drupal-7/drupal/sites/all/modules/ubercart/uc_roles/uc_roles.module).
Notice: Undefined index: table in uc_roles_user_presave() (line 425 of /Volumes/WORK/paul/drupal-7/drupal/sites/all/modules/ubercart/uc_roles/uc_roles.module).

There seems to be a LOT of these kicking round in UC.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Other

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024