• Resolved esg450

    (@esg450)


    Hi, it seems like I’ve started getting an error when attempting to login with 2FA after updating to 6.1.1. I’m also running cerber 9.3.3. Here is the error I’m receiving:

    [14-Dec-2022 20:35:47 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "AUTOSAVE_INTERVAL" in /var/www/public/wp-includes/script-loader.php:1804
    Stack trace:
    #0 /var/www/public/wp-includes/class-wp-hook.php(308): wp_just_in_time_script_localization('')
    #1 /var/www/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #2 /var/www/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #3 /var/www/public/wp-includes/script-loader.php(2012): do_action('wp_print_script...')
    #4 /var/www/public/wp-content/plugins/wp-cerber/cerber-2fa.php(472): print_head_scripts()
    #5 /var/www/public/wp-content/plugins/wp-cerber/cerber-2fa.php(349): CRB_2FA::show_2fa_page()
    #6 /var/www/public/wp-content/plugins/wp-cerber/cerber-load.php(1732): CRB_2FA::restrict_and_verify(1)
    #7 /var/www/public/wp-content/plugins/wp-cerber/cerber-load.php(1700): cerber_restrict_user(1)
    #8 /var/www/public/wp-includes/class-wp-hook.php(308): {closure}('')
    #9 /var/www/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #10 /var/www/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #11 /var/www/public/wp-includes/pluggable.php(48): do_action('set_current_use...')
    #12 /var/www/public/wp-includes/user.php(3610): wp_set_current_user(1)
    #13 /var/www/public/wp-includes/pluggable.php(70): _wp_get_current_user()
    #14 /var/www/public/wp-includes/capabilities.php(873): wp_get_current_user()
    #15 /var/www/public/wp-content/plugins/enable-media-replace/classes/emr-plugin.php(45): current_user_can('upload_files')
    #16 /var/www/public/wp-includes/class-wp-hook.php(308): EnableMediaReplace\EnableMediaReplacePlugin->runtime('')
    #17 /var/www/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #18 /var/www/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #19 /var/www/public/wp-settings.php(480): do_action('plugins_loaded')
    #20 /var/www/public/wp-config.php(143): require_once('/var/www/public...')
    #21 /var/www/public/wp-load.php(50): require_once('/var/www/public...')
    #22 /var/www/public/wp-blog-header.php(13): require_once('/var/www/public...')
    #23 /var/www/public/index.php(17): require('/var/www/public...')
    #24 {main}
      thrown in /var/www/public/wp-includes/script-loader.php on line 1804

    It seems like the email DOES get sent to the user, but this error displays when the 2fa page attempts to display.

The topic ‘Error when enabling 2FA’ is closed to new replies.