Cerber version: Pro 9.6.7.3
I am getting HTTP 500 errors when attempting to edit a page on a WP Multisite subsite with Cerber enabled. If I disable Cerber, I can edit the page.
Path:
…/members/wp-admin/post.php?post=37917&action=edit
Traffic Inspector:
/members/wp-admin/post.php?post=37917&action=edit
HTTP 500 Internal Server Error IP whitelisted 246 ms
PHP error log:
[21-Mar-2025 15:57:41 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type Closure as array in /home/usernameredacted/public_html/wp-content/plugins/buddyboss-app/include/Integrations/SimpleGooglereCaptcha/Main.php:70
Stack trace:
#0 /home/usernameredacted/public_html/wp-content/plugins/buddyboss-app/include/Integrations/SimpleGooglereCaptcha/Main.php(52): BuddyBossApp\Integrations\SimpleGooglereCaptcha\Main->force_remove_filter(‘lostpassword_po…’, ‘\SimpleGoogleRe…’, ‘verify’)
#1 /home/usernameredacted/public_html/wp-includes/class-wp-hook.php(324): BuddyBossApp\Integrations\SimpleGooglereCaptcha\Main->remove_hook(Object(WP_REST_Server))
#2 /home/usernameredacted/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#3 /home/usernameredacted/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home/usernameredacted/public_html/wp-includes/rest-api.php(618): do_action(‘rest_api_init’, Object(WP_REST_Server))
#5 /home/usernameredacted/public_html/wp-includes/rest-api.php(576): rest_get_server()
#6 /home/usernameredacted/public_html/wp-includes/rest-api.php(2957): rest_do_request(Object(WP_REST_Request))
#7 [internal function]: rest_preload_api_request(Array, ‘/wp/v2/types?co…’)
#8 /home/usernameredacted/public_html/wp-includes/block-editor.php(753): array_reduce(Array, ‘rest_preload_ap…’, Array)
#9 /home/usernameredacted/public_html/wp-admin/edit-form-blocks.php(77): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context))
#10 /home/usernameredacted/public_html/wp-admin/post.php(187): require(‘/home/integrity…’)
#11 {main}
thrown in /home/usernameredacted/public_html/wp-content/plugins/buddyboss-app/include/Integrations/SimpleGooglereCaptcha/Main.php on line 70
Final comment:
Despite the error pointing to SimpleGooglereCaptcha within the BuddyBossApp plugin, disabling that plugin does not resolve the error. Disabling WP Cerber, however, does.