Skip Navigation

[Resolved] This form can not edit users with a role of

This support ticket is created 5 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 5 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#1319799
1180656-Screen_Shot_2019_01_09_at_11.50.14_am.png

I have the attached modal and I'm getting this error.
I've enabled php debug mode and no errors are being thrown.
I've also ensured we're on the latest toolset version.
Thoughts?

#1320015

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-08-20 at 10.13.48.png

Can I get some more details about what kind of form this is, and what the form settings are?

The error suggests it is an edit user form.

User forms must specify the roles that can be edited with the form (screenshot), and the simplest explanation is that the form is being used to edit a user who does not have an accepted role.

#1320111
Untitled.png

Hey Nigel,
This is a edit user form where the user is trying to update an existing custom field which is associated to a user.
The user in this instance is trying to update their own custom field.

The permissions are correctly set. See attached.

I've also checked the settings within access settings

Cheers

#1320237

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I take it that the current user has one of the checked roles.

Looking at your debug info I can imagine one or two of your plugins could produce a conflict here.

Sorry for the inconvenience, but can you please test this form with all non-Toolset plugins disabled to see if you see the same error displayed? The fact that no role is listed makes me think it could be arising from the support for multiple roles that was provisionally added in Access, if some of your other plugins are assigning additional roles to users, but the no-conflict test should help determine that.