I am trying to use https://wordpress.org/plugins/user-switching/ but then when I try to switch from an Admin to an Author (haven't tried any other switching) it causes a fatal for this URL: hidden link
WordPress version 5.8.2
PHP version 7.4.25
Error Details
=============
An error of type E_ERROR was caused in line 613 of the file/wp-content/plugins/types-access/application/models/capabilities.php. Error message: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\UploadPermissions' not found in/wp-content/plugins/types-access/application/models/capabilities.php:613
Stack trace:
#0/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/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/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
#3/wp-includes/class-wp-user.php(786): apply_filters('user_has_cap', Array, Array, Array, Object(WP_User))
#4/wp-includes/c
(cutoff via email)
Hi Clifford,
Thank you for getting in touch.
This is a known issue that isn't caused by the User Switching plugin but rather the Enable Media Replace plugin.
Disabling this plugin will resolve the issue however we do have a workaround on our Erratas page on the issue.
https://toolset.com/errata/fatal-access-error-when-non-admins-log-in/
Please let me know if this workaround in the link above was able to help.
Thanks,
Shane
Thanks for the info. That fixed it.
FYI: That link should say 'downgrade to' not 'download to'