Fatal Error on user-switching on 9.6.0
-
This error is when I’m trying to use the user-switching feature of user-switch Plugin. It was working well until 9.5.8
[11-Dec-2023 12:48:13 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, bool given in /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-settings.php:1037
Stack trace: 0 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-settings.php(1037): array_merge() 1 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-settings.php(1098): cerber_get_role_policies() 2 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-common.php(1957): cerber_get_user_policy() 3 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-load.php(1258): crb_check_user_limits() 4 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-load.php(1147): cerber_restrict_auth() 5 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-load.php(1091): cerber_authenticate() 6 /var/www/clients/client4/web5/web/wp-includes/class-wp-hook.php(308): {closure}() 7 /var/www/clients/client4/web5/web/wp-includes/plugin.php(205): WP_Hook->apply_filters() 8 /var/www/clients/client4/web5/web/wp-includes/pluggable.php(616): apply_filters() 9 /var/www/clients/client4/web5/web/wp-includes/user.php(106): wp_authenticate() 10 /var/www/clients/client4/web5/web/wp-login.php(1241): wp_signon() 11 {main}thrown in /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-settings.php on line 1037
[11-Dec-2023 12:48:23 UTC] 'users'
[11-Dec-2023 12:48:23 UTC] 'settings_page_diagnostic_imaging_license'
[11-Dec-2023 12:48:30 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, bool given in /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-settings.php:1037
Stack trace: 0 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-settings.php(1037): array_merge() 1 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-settings.php(1098): cerber_get_role_policies() 2 /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-load.php(3492): cerber_get_user_policy() 3 /var/www/clients/client4/web5/web/wp-includes/class-wp-hook.php(308): {closure}() 4 /var/www/clients/client4/web5/web/wp-includes/plugin.php(205): WP_Hook->apply_filters() 5 /var/www/clients/client4/web5/web/wp-includes/pluggable.php(987): apply_filters() 6 /var/www/clients/client4/web5/web/wp-content/plugins/user-switching/user-switching.php(1418): wp_set_auth_cookie() 7 /var/www/clients/client4/web5/web/wp-content/plugins/user-switching/user-switching.php(192): switch_to_user() 8 /var/www/clients/client4/web5/web/wp-includes/class-wp-hook.php(308): user_switching->action_init() 9 /var/www/clients/client4/web5/web/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 10 /var/www/clients/client4/web5/web/wp-includes/plugin.php(517): WP_Hook->do_action() 11 /var/www/clients/client4/web5/web/wp-settings.php(623): do_action() 12 /var/www/clients/client4/web5/web/wp-config.php(91): require_once('…') 13 /var/www/clients/client4/web5/web/wp-load.php(50): require_once('…') 14 /var/www/clients/client4/web5/web/wp-login.php(12): require('…') 15 {main}thrown in /var/www/clients/client4/web5/web/wp-content/plugins/wp-cerber/cerber-settings.php on line 1037
- The topic ‘Fatal Error on user-switching on 9.6.0’ is closed to new replies.