Skip Navigation

[Resolved] Regular users are seeing "White Screen of Death" upon login. Admins don't.

This support ticket is created 3 years, 6 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Luo Yang 2 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#2194189

Since last night we've started seeing the error below on our site. This produces a "WSOD" for regular users but doesnt seem to affect admins. It's happening on two of our sites (I can only select one site above): insession.journalism.ryerson.ca and procomtechnology.ca.

I have noticed that I can disable the Access plugin and the issue goes away. The neat thing is that the access control measures in place (restricting access to parts of the site based on user role) seem to still function. Not sure if this is the intended outcome.

The error is the same on both sites and happens upon "regular" user login:

"Howdy!

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, Toolset Access.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.8.1
Current theme: In Session Academy Theme (version )
Current plugin: Toolset Access (version 2.8.12)
PHP version 7.3.31

Error Details
=============
An error of type E_ERROR was caused in line 613 of the file /dom36079/wp-content/plugins/types-access/application/models/capabilities.php. Error message: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\UploadPermissions' not found in /dom36079/wp-content/plugins/types-access/application/models/capabilities.php:613
Stack trace:
#0 /dom36079/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 /wordpress-versions/5.8.1/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 /wordpress-versions/5.8.1/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
#3 /wordpress-versions/5.8.1/wp-includes/class-wp-user.php(786): apply_filters('user_has_cap', Array, Array, Array, Object(WP_User))
#4 /wordpress-versions/5.8.1/wp-includes/capabilities.php(801): WP_User->has_cap('upload_files')
#5 /wordpress-versions/5.8.1/wp-includes/capabilities.php(693): user_can(Object(WP_User), 'upload_files’)
#6”

Hopefully you can help.....

Thanks,
Many

#2194455

Hello,

I have tried it with a fresh WP installation + the latest version of Toolset plugins, it works fine.

And the problem you mentioned above is abnormal, please try these:
1) Reinstall Toolset Access plugin manually, you can download it here:
https://toolset.com/account/downloads/
All Toolset settings are saved in your database, it is safe to remove the plugin files

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

#2194895

Hi Luo,

I don't really understand your position with the company. Do you work for the company or are you freelancing. The reason I ask is that I did eventually figure out what plugin was causing the issue (or atleast triggered the issue). It's called Enable Media Replace (https://wordpress.org/plugins/enable-media-replace/). The only reason I found it was it's the only plugin that was common to both sites and the approximate time of update from the folder time stamp matched.

The reason I'm a little ticked off is that you're (maybe unknowingly) giving the standard "Have you turned it on/off" cliche support answer. According to the author of Enable Media Replace this is a BUG in Toolset Access and your company is aware of this. Now I'm not saying that this is necessarily true, but if it is, it's not really fair for your company to send me on a goose chase when the issue is ACTUALLY in your plugin. Reference: https://wordpress.org/support/topic/3-6-0-update-conflicts-with-toolset-access-for-non-admin-users/

I await your response and (hopefully) the eventual update that will fix this issue.

#2195459

I am a Toolset supporter.

And I can duplicate the same problem with the "Enable Media Replace" plugin, and have escalated this issue, will update here if there is anything news.

Currently, you need to deactivate the "Enable Media Replace" plugin.

#2367355

This issue has now been fixed and the latest versions of our Toolset plugins are now available for download.

You can download them( Types + Access plugins) from the link below.
https://toolset.com/account/downloads/
Thanks,