• Resolved mwschaff

    (@mwschaff)


    I received a message “WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, All In One WP Security.” This prevents me from logging in. By disabling all plugin from cpanel file manager I was able to login. I was using a renamed login page which I removed and that did not fix the issue. The only way I could get it working it again was to rollback AIOS 2 version to 5.2.5 newer version 5.2.6 and 5.2.7 prevent login. Up-to-date on WP and PHP version. What do I do? Thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support aporter

    (@aporter)

    Hi,

    Do you have another TFA plugin installed such as Duo or Google Auth?

    If not, are you able to get the fatal error from your PHP error log.

    Best Wishes,

    Ashley

    Thread Starter mwschaff

    (@mwschaff)

    I use Google authenticator and it has worked well for quite awhile.

    I looked in /wp-content/error_log and there were 3 messages about “Cannot modify header information – headers already sent”. If I should be looking in another place please let me know.

    The automated email from WP showed the following info (note – I have replaced user ID info with all *’s)

    WordPress version 6.4.3 Active theme: Kadence Child (version 1.1.35.1682449397) Current plugin: All In One WP Security (version 5.2.7) PHP version 8.2.15 Error Details ============= An error of type E_ERROR was caused in line 678 of the file /home3//public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-user-login.php. Error message: Uncaught Error: Call to undefined function get_active_blog_for_user() in /home3//public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-user-login.php:678 Stack trace: #0 /home3//public_html/wp-includes/class-wp-hook.php(324): AIOWPSecurity_User_Login->wp_logout_action_handler(0) #1 /home3//public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(false, Array) #2 /home3//public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home3//public_html/wp-includes/pluggable.php(671): do_action(‘wp_logout’, 0) #4 /home3//public_html/wp-content/plugins/google-authenticator/google-authenticator.php(624): wp_logout() #5 /home3//public_html/wp-includes/class-wp-hook.php(324): GoogleAuthenticator->check_otp(Object(WP_User), ‘‘, ‘s%u(@l9Z(vVEbIH…’) #6 /home3//public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Object(WP_User), Array) #7 /home3//public_html/wp-includes/pluggable.php(618): apply_filters(‘authenticate’, NULL, ‘‘, ‘s%u(@l9Z(vVEbIH…’) #8 /home3//public_html/wp-includes/user.php(106): wp_authenticate(‘‘, ‘s%u(@l9Z(vVEbIH…’) #9 /home3/*/public_html/wp-login.php(1311): wp_signon(Array, true) #10 {main} thrown

    Plugin Support aporter

    (@aporter)

    Hi,

    Thanks for that, the latest version of AIOS appears to have a conflict with them plugins.

    Attached is a copy of AIOS that fixes the conflict:

    https://gofile.io/d/jCZt8I

    We should also have a release out shortly that includes this fix.

    Best Wishes,

    Ashley

    Thread Starter mwschaff

    (@mwschaff)

    Thank you for the quick response and answer. I’ll give it a try and let you know the results

    Thread Starter mwschaff

    (@mwschaff)

    I updated the plugin using the zip file and it appears to be working fine. Thank you so much for your help. I will mark it resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AIOS preventing login’ is closed to new replies.