I am trying to: I am trying to log in with a custom user role.
Link to a page where the issue can be seen: hidden link
I expected to see: The welcome login screen and custom user dashboard.
Instead, I got:
Fatal error: Uncaught Error: Class 'OTGS\Toolset\Access\Controllers\UploadPermissions' not found in /home/cris63/public_html/wp-content/plugins/types-access/application/models/capabilities.php:613 Stack trace: #0 /home/cris63/public_html/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 /home/cris63/public_html/wp-includes/class-wp-hook.php(307): OTGS\Toolset\Access\Controllers\Filters\BackendFilters->toolset_access_has_cap_filter(Array, Array, Array, Object(WP_User)) #2 /home/cris63/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #3 /home/cris63/public_html/wp-includes/class-wp-user.php(787): apply_filters('user_has_cap', Array, Array, Array, Object(WP_User)) #4 /home/cris63/public_html/wp-includes/capabilities.php(801): WP_User->has_cap('upload_files') #5 /home/cris63/public_html/wp-includes/capabilities.php(693): user_can(Object(WP_U in /home/cris63/public_html/wp-content/plugins/types-access/application/models/capabilities.php on line 613
Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/cris63/public_html/wp-includes/functions.php on line 5768
Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/cris63/public_html/wp-includes/functions.php on line 5768
There has been a critical error on this website.
Hello,
It is a known issue, see our erratum here:
https://toolset.com/errata/fatal-access-error-when-non-admins-log-in/
The fix for this issue will be officially shipped with next Toolset Access version 2.8.13, but I am not sure when will it be released.
Currently, please try the workaround mentioned in above erratum.
Thanks for the replay. I disabled the Enable Media Replace plugin and indeed it fixed the issue. Hopefully, this gets addressed soon.
My issue is resolved now. Thank you!