• I get a critical error for my website each time I click the Dashboard or Tools for Defender.
    I deleted the plugin with complete data and settings removal, deleted the leftover tables, and re-installed it but I get the same critical error.

    • This topic was modified 3 years, 10 months ago by kingsab.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey @kingsab

    Thank you for your honest feedback after testing out Defender.

    First, I reccomend performing a conflict test by disabling other plugins and switching to the default WP theme to see if Defender is loading fine after that.

    If it does, enable them back one at a time until the issue is back and that should tell us where the conflict is coming from so we can debug it further from there.

    I suggest doing this test on a staging site or if you don’t have one make sure to have a backup of your site ready before proceeding with the test.

    Lastly, if there is no conflict, then the critical error is most likely occurring due to an outdated, or incompatible PHP/ WordPress version and not an issue directly with the plugin.

    Please respond with the current versions you are using for both, so we can best advise the next step.

    Kindly,

    Hello @kingsab

    I’m really sorry to hear that you have this issue.

    Would you please share with us the full error that you’re getting? As @wpmudevsupport17 has mentioned, most likely it is a conflict with another plugin, so please run a test for a conflict.

    Please note that our team is actively providing support on forums and we’re always happy to assist with any issues that could occur with Defender. We would really appreciate if you could open a new thread in our forums here so we could assist you further.

    Kind regards,
    Nastia

    Thread Starter kingsab

    (@kingsab)

    Hello,

    Thank you for your replies.

    I have deactivated all the plugins and used the default theme 20 21, I am getting the same critical error when clicking Dashboard or Tools.

    I am running WordPress 5.7.2, PHP version 7.4

    Hi @kingsab,

    Sorry to hear that the issue is still there, we should be able to get more info on what is causing the issue if you could provide us with a debug.log file of your site.

    You can enable debug log by accessing your installation files via FTP or cPanel, and in your root WP folder edit wp-config.php file by replacing define(‘WP_DEBUG’, false); with this code:

    
    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set( 'log_errors', 1 );
    @ini_set( 'display_errors', 0 );
    

    Visit Dashboard and Tools page page so the error shows up again and this should create debug.log file inside your /wp-content/ folder.

    Please upload that file to any file sharing service like GDrive or Dropbox and send us the download link by using our contact form here:
    https://wpmudev.com/contact/#i-have-a-different-question

    Send in:

    Subject: “Attn: Predrag Dubajic”
    – Link to your WordPress site
    – Download link to the debug.log file
    – Link back to this thread for reference (https://www.ads-software.com/support/topic/defender-causing-a-critical-error/)
    – Any other relevant urls/info

    To ensure we don’t miss this please let us know once you’ve submitted the email.

    Thank you,
    Predrag

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Defender causing a critical error’ is closed to new replies.