• Resolved Howdy_McGee

    (@howdy_mcgee)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @howdy_mcgee

    Recent release of AIOS has introduced this new issue due to log the logout action in audit log at that time.

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

    We have tracked down the conflict and fixed it, we should have a release out soon that includes this fix.

    Attached is a copy of AIOS that fixes the conflict if you don’t want to wait:

    https://gofile.io/d/jCZt8I

    Regards

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    @hjogiupdraftplus

    Great to hear a fix is in place and can be expected in a future release. Thanks for your time and help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.