Error in admin users.php pages multisite
-
The new version of your plugin is giving this error when acessing the page “users.php” on a large multisite installation.
The user list is not displayed.
2019/06/25 15:59:32 [error] 23725#23725: *13631 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to user_switching::filter_user_has_cap() must be of the type array, null given, called in /var/www/html/wp-includes/class-wp-hook.php on line 286 and defined in /var/www/html/wp-content/plugins/user-switching/user-switching.php:846 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(286): user_switching->filter_user_has_cap(NULL, Array, Array, Object(WP_User)) #1 /var/www/html/wp-includes/plugin.php(208): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/class-wp-user.php(768): apply_filters('user_has_cap', Array, Array, Array, Object(WP_User)) #3 [internal function]: WP_User->has_cap('wf2fa_activate_...', 'wf2fa_activate_...') #4 /var/www/html/wp-content/plugins/wordfence/modules/login-security/classes/controller/users.php(193): call_user_func_array(Array, Array) #5 /var/www/html/wp-content/plugins/wordfence/modules/login-security/classes/controller/users.php(168): WordfenceLS\Controller_Users->_user_can_f" while reading response header from upstream, client: server: clone.ufsm.br, request: "GET /site/wp-admin/users.php HTTP/1.0", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "clone.ufsm.br", referrer: "https://site.dev/wp-admin/users.php"
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Error in admin users.php pages multisite’ is closed to new replies.