Thanks Vincent, I've added the condition to the sp, but the errors are still there.
What I don't see:
On the User Accounts >> Manage Roles tab I don't see any ROLES people are enrolled in listed. The usual list is blank.
What I do see:
If I ADD ROLE TO USER, with the (SEND NOTIFICATION) checked, then I get the error:
Error: is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Roles.RoleController.SendNotification(UserInfo objUser, RoleInfo objRole, PortalSettings PortalSettings, UserRoleActions Action) at DotNetNuke.Security.Roles.RoleController.AddUserRole(UserInfo objUser, RoleInfo objRole, PortalSettings PortalSettings, DateTime effDate, DateTime expDate, Int32 userId, Boolean notifyUser) at DotNetNuke.Modules.Admin.Security.SecurityRoles.cmdAdd_Click(Object sender, EventArgs e) --- End of inner exception stack trace ---
If I ADD ROLE TO USER, without the (SEND NOTIFICATION) checked, then I DONT get the error, the page refreshes, but still doesn't show any roles - and in checking the database, the role (any role) has NOT been added.
So far this is only showing up in an upgraded dnn 5.4 >> 6.1
Any further thoughts?