Forum Replies Created
-
In reply to: How can I fully remove this plugin?
Hi Robin,
Definitely something weird going on with roles & capabilities.
Ended up:
1. removing all forum entries
2. delete bbPress plugin folderNot the best way to remove a plugin, but all seems OK
thank you
In reply to: How can I fully remove this plugin?I have already checked, they are definitely in the wp_options table.
I will back-up as well as think of a way to ‘safely’ change things in that space without locking myself out.thanks
In reply to: How can I fully remove this plugin?Hi Robin,
Deleted the bbPress folder.
Plugin screen came up fine and stated bbPress was gone.
Reinstalled bbPress
Same issue.It looks like it fails when attempting to remove ‘spectate’
See log above: WP_Role->remove_cap(‘spectate’)
I was surprised as an Administrator, all the bbPress roles were read-only.
Is that normal?
As an Admin are your bbPress roles read-only?In reply to: How can I fully remove this plugin?I will delete the folder, then re-install it to then see if I can uninstall it correctly.
thanks
In reply to: How can I fully remove this plugin?This was occurring before Members was installed.
I only loaded Members to see further inside users, roles and capabilities as native WordPress offers little capability of diagnosing such issues.Happy to give you access.
How do I pm you?In reply to: How can I fully remove this plugin?Changed theme to twentytwenty
Deactivated all plugins apart from bbpress
Then tried to deactivate bbPress last … same error.Note, the Membership plugin was uninstalled earlier.
In reply to: How can I fully remove this plugin?I used the Members plugin to check the roles.
All the bbPress roles are read-only.
(As administration I was unable to edit them)
Is that correct?In reply to: How can I fully remove this plugin?correct.
I have 3 instances (dev, test & production)
Tried multiple times on all three (not multisite)Errors were consistent
In reply to: How can I fully remove this plugin?No.
I’m on WordPress 5.4.1In reply to: How can I fully remove this plugin?Here is the debug log:
[21-May-2020 04:26:20 UTC] PHP Fatal error: Uncaught Error: Cannot unset string offsets in /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-role.php:75
Stack trace:
#0 /hsphere/local/home/somewhere/somewhere/wp-content/plugins/bbpress/includes/core/capabilities.php(240): WP_Role->remove_cap(‘spectate’)
#1 /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-hook.php(287): bbp_remove_caps(”)
#2 /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#3 /hsphere/local/home/somewhere/somewhere/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#4 /hsphere/local/home/somewhere/somewhere/wp-content/plugins/bbpress/includes/core/sub-actions.php(40): do_action(‘bbp_deactivatio…’)
#5 /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-hook.php(287): bbp_deactivation(false)
#6 /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#7 /hsphere/local/home/somewhere/somewhere/wp-include in /hsphere/local/home/somewhere/somewhere/wp-includes/class-wp-role.php on line 75In reply to: How can I fully remove this plugin?I also followed this: https://codex.bbpress.org/getting-started/installing-bbpress/deleting-bbpress/
and get the same fatal error:Fatal error: Uncaught Error: Cannot unset string offsets
in /hsphere/local/home/audax/dev1.audax.org.au/wp-includes/class-wp-role.php on line 75Call stack:
WP_Role::remove_cap()
wp-content/plugins/bbpress/includes/core/capabilities.php:240
bbp_remove_caps()
wp-content/plugins/bbpress/includes/admin/tools/reset.php:262
bbp_admin_reset_database()
wp-content/plugins/bbpress/includes/admin/tools/reset.php:100
bbp_admin_reset_handler()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-admin/admin.php:232
require_once()
wp-admin/tools.php:40