Fatal Error: get_active_blog_for_user() | WordPress.org

[ad_1]

Hello,

On a number of websites I keep seeing the following Fatal Error crop up:

PHP Fatal error:  Uncaught Error: Call to undefined function get_active_blog_for_user() in /httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-user-login.php:686

Stack trace:
#0 /httpdocs/wp-includes/class-wp-hook.php(324): AIOWPSecurity_User_Login->wp_logout_action_handler()
#1 /httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /httpdocs/wp-includes/pluggable.php(671): do_action()
#4 /httpdocs/wp-login.php(793): wp_logout()
#5 {main}
  thrown in /httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-user-login.php on line 686

Exception Object
(
    [message:protected] => 
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-user-login.php
    [line:protected] => 680
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /httpdocs/wp-includes/class-wp-hook.php
                    [line] => 324
                    [function] => wp_logout_action_handler
                    [class] => AIOWPSecurity_User_Login
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => /httpdocs/wp-includes/class-wp-hook.php
                    [line] => 348
                    [function] => apply_filters
                    [class] => WP_Hook
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /httpdocs/wp-includes/plugin.php
                    [line] => 517
                    [function] => do_action
                    [class] => WP_Hook
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => /httpdocs/wp-includes/pluggable.php
                    [line] => 671
                    [function] => do_action
                )

            [4] => Array
                (
                    [file] => /httpdocs/wp-login.php
                    [line] => 793
                    [function] => wp_logout
                )

        )

    [previous:Exception:private] => 
)

It’s not clear why this is happening but between the Stack Trace and the Exception Trace it seems to all lead back to AIOWPS. My plugins are up to date and WordPress is up to date.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer