Skip Navigation

[Resolved] Cred form error when logged in as custom role user with access permissions

This support ticket is created 6 years, 9 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.

Our next available supporter will start replying to tickets in about 1.03 hours from now. Thank you for your understanding.

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 2 replies, has 2 voices.

Last updated by malagaS 6 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#613162

I am trying to: allow a user to submit a cred form

Link to a page where the issue can be seen: hidden link

I expected to see: successful form submission on submit

Instead, I got: "There was an error while submitting the form"

Setup:
post type
cred form - on submission > change post to draft status
view loop - display cred forms/submit buttons for each record
access - created custom role
access - added post group and gave role read permission to page
access - cred form: gave custom role edit own/edit others permissions for cred form
access - field types: gave custom role access to modify fields in edit page
assigned wp user to role

when logged in as admin vs custom role user: both appear the same but admin is able to successfully submit, custom role user hangs and then errors out.

any help appreciated - on deadline with this task. thank you.

#613298

Nigel
Supporter

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

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

Screen Shot 2018-02-06 at 11.12.37.png

I didn't test submitting the form on your live site and took a copy of your site for testing instead.

On the local install it worked first time for me (see screenshot, which is with a Staff Admin Access user).

That was without disabling plugins, changing theme etc.

The only obvious difference being that I created a new user and gave them that role.

To rule out that there is a problem with the user you currently have with that role, can you create a new user and assign the role to them, and then test again on your live site?

#613498

worked for me to - thank you!