Skip Navigation

[Resolved] Toolset fatal error during non-admin WP login (Toolset Access)

This support ticket is created 5 years, 3 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)

Author
Posts
#1349553

I am trying to:
Log in using an Author account.

Link to a page where the issue can be seen:

I expected to see:
WP Dashboard

Instead, I got:
"The site is experiencing technical difficulties. Please check your site admin email inbox for instructions."

Error msg:

[26-Sep-2019 19:18:20 UTC] PHP Fatal error: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\PermissionsPostGroups' not found in /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php:301
Stack trace:
#0 /home/protocmsmath/public_html/wp-content/plugins/types-access/application/models/capabilities.php(615): OTGS\Toolset\Access\Controllers\PermissionsPostTypes->get_post_type_caps(Array, Array, Array, Object(WP_User), 'edit')
#1 /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/filters/backend_filters.php(427): OTGS\Toolset\Access\Models\Capabilities->get_capabilities_by_user_permissions(Array, Array, Array, Object(WP_User))
#2 /home/protocmsmath/public_html/wp-includes/class-wp-hook.php(286): OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter(Array, Array, Array, Object(WP_User))
#3 /home/protocmsmath/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#4 /home/protocmsmath/public_html/wp-incl in /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php on line 301
[26-Sep-2019 19:32:51 UTC] PHP Fatal error: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\PermissionsPostGroups' not found in /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php:301
Stack trace:
#0 /home/protocmsmath/public_html/wp-content/plugins/types-access/application/models/capabilities.php(615): OTGS\Toolset\Access\Controllers\PermissionsPostTypes->get_post_type_caps(Array, Array, Array, Object(WP_User), 'edit')
#1 /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/filters/backend_filters.php(427): OTGS\Toolset\Access\Models\Capabilities->get_capabilities_by_user_permissions(Array, Array, Array, Object(WP_User))
#2 /home/protocmsmath/public_html/wp-includes/class-wp-hook.php(286): OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter(Array, Array, Array, Object(WP_User))
#3 /home/protocmsmath/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#4 /home/protocmsmath/public_html/wp-incl in /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php on line 301
[26-Sep-2019 19:32:59 UTC] PHP Fatal error: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\PermissionsPostGroups' not found in /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php:301
Stack trace:
#0 /home/protocmsmath/public_html/wp-content/plugins/types-access/application/models/capabilities.php(615): OTGS\Toolset\Access\Controllers\PermissionsPostTypes->get_post_type_caps(Array, Array, Array, Object(WP_User), 'edit')
#1 /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/filters/backend_filters.php(427): OTGS\Toolset\Access\Models\Capabilities->get_capabilities_by_user_permissions(Array, Array, Array, Object(WP_User))
#2 /home/protocmsmath/public_html/wp-includes/class-wp-hook.php(286): OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter(Array, Array, Array, Object(WP_User))
#3 /home/protocmsmath/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#4 /home/protocmsmath/public_html/wp-incl in /home/protocmsmath/public_html/wp-content/plugins/types-access/application/controllers/permissions_post_types.php on line 301

#1349581

No error message is emailed to the site admin email address either. This seems to be a significant problem inside Toolset Access or possibly corruption in the data storage for it. I tried temporarily disabling Toolset Access and indeed this does clear the error. However we use Toolset Access extensively!

Our non-admin Authors are offline due to the problem until this sorted out.

I have subsequently upgraded as well from v 2.8.0 to v2.8.1 but that made no change to the symptoms as described.

Any help?

#1349755

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please send me duplicator copy of your install that will help me to debug this issue further.

More info;
=> https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.

#1350027

Minesh
Supporter

Languages: English (English )

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

Before you send me duplicator copy of your install, can you please try to apply workaround shared with the following link and try to resolve your issue:
=> https://toolset.com/errata/fatal-error-when-logging-in-with-non-admin-roles-in-specific-cases/

#1352031

After updating to Toolset Access v2.8.1.1 the problem has been corrected.

My issue is resolved now. Thank you!