[Defender] When I run a Defender Scan it gets stuck around 50-60 %

When I run a Defender Scan on my multisite install it gets stuck around 50-60 % I have two sites with no content yet in my multisite install. I have activated 5 day access

  • Ash
    • WordPress Hacker

    Hello Tim

    I am seeing 500 internal server error during file scan. Would you please enable debug mode and check if there is any error? To enable debug mode please go to wp-config.php and change

    define( 'WP_DEBUG', false );

    to

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    define( 'WP_DEBUG_LOG', true );

    Now try to scan again. That will create a file called debug.log inside wp-content folder. Open that file, check the very bottom and you will see the latest errors. Please send me those.

    Have a nice day!

    Cheers,
    Ash

    • Tim
      • New Recruit

      Did you receive the debug log?
      [27-Dec-2018 18:49:35 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/wp-defender/vendor/php_codesniffer/CodeSniffer/File.php on line 2434
      [27-Dec-2018 18:49:37 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:39 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:42 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:44 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:46 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:48 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:51 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:53 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:55 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:49:58 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:00 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:03 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:05 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:08 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:11 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:14 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:17 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:20 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37
      [27-Dec-2018 18:50:23 UTC] PHP Deprecated: Function create_function() is deprecated in /home/dt2cm2k0t6zf/public_html/wp-content/plugins/blogtemplates/blogtemplatesfiles/blog_templates.php on line 37

  • Ash
    • WordPress Hacker

    Hello there

    This is a memory issue. Please add the following line on wp-config.php:

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

    If your hosting package doesn't provide that much memory limit, then you need to contact them to increase the memory limit for you.

    Let us know how it goes. 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.