Defender Crashing Website

After activating Defender it crashed the website and it is giving a 500 error. Godaddy is pointing that Defender is causing the I/O, and memory usage peaks.
Debug log info in chat

  • James Morris

    Hello Victor Urena,

    I hope you are well today. I'll be following up regarding your chat.

    I've been able log into your site and server. I've made a few changes to your wp-config.php file and was able to successfully install Defender and complete the file system scan without issue.

    Here's the changes I made to your wp-config.php file to improve your site's stability and performance.

    // Performance Tweaks
    @ini_set( 'max_execution_time', '300' );
    @ini_set( 'memory_limit', '512M' );
    @ini_set( 'upload_max_filesize', '32M' );
    @ini_set( 'post_max_size', '32M' );
    
    // Increase WP Memory Limit
    define('WP_MEMORY_LIMIT', '512M')

    I also turned off WP_DEBUG and SCRIPT_DEBUG as they can add load and are not normally needed in normal production.

    Let us know if you have any further questions. We'll be happy to help! :slight_smile:

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.