Fatal error when used with members plugin
-
Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /var/www/domain.com/wp-includes/plugin.php:174 Stack trace: #0 /var/www/domain.com/wp-content/plugins/bnfw/bnfw.php(1184): apply_filters() #1 [internal function]: BNFW->bnfw_members_sanitize_role() #2 /var/www/domain.com/wp-content/plugins/bnfw/bnfw.php(1130): array_map() #3 /var/www/domain.com/wp-includes/class-wp-hook.php(309): BNFW->user_role_added() #4 /var/www/domain.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #5 /var/www/domain.com/wp-includes/plugin.php(474): WP_Hook->do_action() #6 /var/www/domain.com/wp-includes/user.php(2283): do_action() #7 /var/www/domain.com/wp-includes/user.php(2404): wp_insert_user() #8 /var/www/domain.com/wp-admin/includes/user.php(227): wp_update_user() #9 /var/www/domain.com/wp-admin/user-edit.php(166): edit_user() #10 {main} thrown in /var/www/domain.com/wp-includes/plugin.php on line 174
The apply_filters function requires a string as first parameter to identify the filter. Line 1184 in bnfw.php has an array as first parameter.
This looks like the same problem in the Critical Site Error on Password Changes issue. It’s when BNFW is used with the Members plugin.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Fatal error when used with members plugin’ is closed to new replies.