granida
Forum Replies Created
-
Copied the template files for um-social-activity from plugins folder and placed them in the child theme, removing all code with like-functionality.
Found the translations that didn’t work, they we’re both in po-file (not working) and in Ultimate Member/Settings/Extensions/Real-time notifications
I also tried to rename the role with the issue (as it doesn’t have any name – which is causing the issue) through the plugin User Role Editor, but it didn’t have any effect. The role is this unnamed and the error is still present.
Is there any way to fix this through the database?
Regards,
IdaI followed your instructions and got a confirmation that the role was deleted. But unfortunately, it’s still there just like before. And the error “Notice: Undefined index: name in /www/www.wisebox.se/docs/wp-content/plugins/ultimate-member/includes/core/class-roles-capabilities.php on line 113” is also still there…
Regards,
IdaWe have tho following non custom roles in our application:
Subscriber
Shop manager
Editor
Customer
Contributor
Author
Anonym
AdministratorAnd 3 custom UM roles.
Before we had like 15 unused custom roles that I deleted, but one of them led to this error on deletion.Regards,
Ida- This reply was modified 3 years, 5 months ago by granida.
No, it’s a weird issue and I do not know quite how it happen.
It didn’t happen in my local environment where I did the exact same thing first – deleting the same unused roles (including the one that had this weird error).I tried to create a new role and deleting it – no problem.
And I had no problem to delete other roles, it was just this one role that this error happened to.
The error affects the whole website, causing the Elementor editor to not work anymore, for example.
The role that could’nt be deleted is not a “UM Custom role” according to the table inunder the “User Roles” tab, but the Role ID is “um_nameofrole” (which makes it look like a custom role. And a non custom role should be possible to delete, right? So I do not know how this happened…
But the main thing is – how can this be fixed?
Regards,
Ida