[Defender] Defender Issues

Defender is giving me the following log errors:
[03-May-2018 15:10:35 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home/rkbtylonius/public_html/wp-content/plugins/wp-defender/vendor/php_codesniffer/CodeSniffer/File.php on line 2434
[03-May-2018 15:11:40 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home/rkbtylonius/public_html/wp-content/plugins/wp-defender/vendor/php_codesniffer/CodeSniffer/File.php on line 2434
[03-May-2018 15:14:07 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home/rkbtylonius/public_html/wp-content/plugins/wp-defender/vendor/php_codesniffer/CodeSniffer/File.php on line 2434
[03-May-2018 15:15:32 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home/rkbtylonius/public_html/wp-content/plugins/wp-defender/vendor/php_codesniffer/CodeSniffer/File.php on line 2434
[03-May-2018 15:18:09 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home/rkbtylonius/public_html/wp-content/plugins/wp-defender/vendor/php_codesniffer/CodeSniffer/File.php on line 2434
[03-May-2018 15:20:01 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home/rkbtylonius/public_html/wp-content/plugins/wp-defender/vendor/php_codesniffer/CodeSniffer/File.php on line 2434
[03-May-2018 15:22:08 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20480 bytes) in /home/rkbtylonius/public_html/wp-content/plugins/wp-defender/vendor/php_codesniffer/CodeSniffer/File.php on line 2434

  • Ash

    Hello tylonius

    Looks like your memory limit is very low, only 64M. Would you please ask your host to increase your memory limit to at least 256M?

    And then, add the following on your wp-config.php file:

    define( 'WP_MEMORY_LIMIT', '256M' );
    define( 'WP_MAX_MEMORY_LIMIT', '256M' );

    If you can get at least 128, then replace 256 with 128 and put in wp-config.php file, the error should be gone by then.

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!

    Cheers,
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.