Good morning,
I’m having an issue with my site where after removing the editor user role (as it was not needed) I can no longer login to the backend of the site, and get an error 500.
Ive had to disable the plugin for the moment while I figure out what to do.
The PHP error is:
Fatal error: Uncaught Error: Call to a member function has_cap() on null in /www/wp-content/plugi…des/class-ssp-settings.php:226 Stack trace: #0 /www/wp-content/plugins/seriously-simple-podcasting/includes/class-ssp-settings.php(211): SSP_Settings->maybe_add_cap(NULL, 'manage_podcast') #1 /www/wp-includes/class-wp-hook.php(286): SSP_Settings->add_caps('') #2 /www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /www/wp-admin/admin.php(156): do_action('admin_init') #5 /www/wp-admin/index.php(10): require_once('/www/wp-admin/a...') #6 {main} thrown in /www/wp-content/plugins/seriously-simple-podcasting/includes/class-ssp-settings.php on line 226
Is there any suggestion you can make that might fix this problem?
I’ve had to restore the default user roles, but it is interesting that it breaks the plugin if you remove one thats not in use.