Support » Plugin: WP Cerber Security, Anti-spam & Malware Scan » disable dashboard redirection causes fatal error

  • Resolved macksix

    (@macksix)


    When “disable dashboard redirection” is enabled, this happens when I go to /wp-admin/

    
    [08-Sep-2022 07:34:23 UTC] PHP Fatal error:  Uncaught Error: Call to a member function is_block_editor() on null in /home/*****/public_html/wp-includes/script-loader.php:2407
    Stack trace:
    #0 /home/*****/public_html/wp-includes/class-wp-hook.php(307): wp_global_styles_render_svg_filters('')
    #1 /home/*****/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #2 /home/*****/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #3 /home/*****/public_html/wp-content/themes/generatepress/header.php(27): do_action('wp_body_open')
    #4 /home/*****/public_html/wp-includes/template.php(770): require_once('/home/*****...')
    #5 /home/*****/public_html/wp-includes/template.php(716): load_template('/home/*****...', true, Array)
    #6 /home/*****/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
    #7 /home/*****/public_html/wp-content/themes/generatepress/404.php(12): get_header()
    #8 /home/*****/public_html/wp-content/plugins/wp-cerber/cerber-l in /home/*****/public_html/wp-includes/script-loader.php on line 2407

    I tried disabling all plugins, changing to 2021 theme, deleting and reinstalling cerber 9.1, reinstalling WordPress 6.02 with same problem.

    cerber 9.1 runs fine on 2 other sites on the same server.

    WordPress 6.02, CloudLinux 7.9, PHP 7.4.30

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gregory

    (@gioni)

    Hi! The quick solution is setting “Display 404 page” to “Display simple 404 page”. We will check the issue on our website soon.

    Thread Starter macksix

    (@macksix)

    Yep, that fixed it.

    I see that the reason the update worked on other sties is becuase they are set to “Display simple 404 page”. When I switched them to Diplay 404 from active theme, they threw fatal error too.

    Thank you!

    Plugin Author Gregory

    (@gioni)

    We have fixed the bug. Please check the latest version: https://wpcerber.com/wp-cerber-security-9-2/

    Tom

    (@tommaso76)

    @gioni
    WP Cerber will be soon available also in WordPress plugin repository ?
    Because it’s hard to upgrade 150+ websites manually…
    Please, let us know, thank you very much !

    Plugin Author Gregory

    (@gioni)

    @tommaso76

    WP Cerber will be soon available also in WordPress plugin repository ?
    Because it’s hard to upgrade 150+ websites manually…
    Please, let us know, thank you very much !

    We are working on it. You can also send an inquiry to this email: plugins@wordpress.org.

    Do not post your questions in random forum threads.

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