Skip Navigation

[Resolved] fatal error with toolset access

This thread is resolved. Here is a description of the problem and solution.

Problem:
fatal error with toolset access

Solution:
This is a known issue to us and we already published the errata for that, you can check the following link for same:
- https://toolset.com/errata/fatal-access-error-when-non-admins-log-in/

Relevant Documentation:

This support ticket is created 2 years, 10 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Minesh 2 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#2289337

I am trying to: login as shop manager

Link to a page where the issue can be seen:

I expected to see: the backend

Instead, I got: a fatal error

2022/02/11 08:20:45 [error] 1755#1755: *243123 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\UploadPermissions' not found in /www/weingutwess_999/public/wp-content/plugins/types-access/application/models/capabilities.php:613
Stack trace:
#0 /www/weingutwess_999/public/wp-content/plugins/types-access/application/controllers/filters/backend_filters.php(534): OTGS\Toolset\Access\Models\Capabilities->get_capabilities_by_user_permissions(Array, Array, Array, Object(WP_User))
#1 /www/weingutwess_999/public/wp-includes/class-wp-hook.php(303): OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter(Array, Array, Array, Object(WP_User))
#2 /www/weingutwess_999/public/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
#3 /www/weingutwess_999/public/wp-includes/class-wp-user.php(786): apply_filters('user_has_cap', Array, Array, Array, Object(WP_User))
#4 /www/weingutwess_999/public/wp-includes/capabilities.php(801): WP_User->has_cap('upload_files')
#5 /www/weingutwess_99" while reading response header from upstream, client: 88.117.166.30, server: hidden link, request: "POST /wp-login.php HTTP/1.1", upstream: "hidden link:", host: "www.weingut-wess.at:44084", referrer: "hidden link"

#2289339

i have temporarly deactivated the plugin, but we need it to tune the role forthe shop-manager!?

#2289443

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

This is a known issue to us and we already published the errata for that, you can check the following link for same:
- https://toolset.com/errata/fatal-access-error-when-non-admins-log-in/

You should try to follow the workaround offered with the above link for now.

#2289793

My issue is resolved now. Thank you!

#2367433

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I would like to inform you fix for this issue has been shipped with Toolset Access version 2.8.14.

You can download it from your account's page:
=> https://toolset.com/download/toolset-access/#changelog