Defender blank screen

When I try to load defender I get a white screen.

The site may have been hacked in the past and there is a file in the WP core that I want to investigate but when I try to look at the scan report I get a blank white screen.

Everything is updated to the current version.

  • Adam
    • Support Gorilla

    Hi Skstarkiller

    I hope you’re well today and thank you for contacting us!

    I checked the site and the issue was caused by a broken (empty) .htaccess file in the /wp-includes/ folder. It was blocking a lot of core WP resurces from loading, thus causing the issue.

    It was most likely causing a whole bunch of other issues as well, even if they didn’t “manifest” themselves yet.

    I’ve renamed the file to “.htaccess_off” for now to disable it but you can either remove it or you can manually update it, putting following code in it in order to apply “Prevent PHP Execution” security tweak:

    ## WP Defender - Protect PHP Executed ##
    <Files *.php>
    Order allow,deny
    Deny from all
    </Files>
    <Files wp-tinymce.php>
    Allow from all
    </Files>
    <Files ms-files.php>
    Allow from all
    </Files>
    ## WP Defender - End ##

    On a sidenote: I’ve also disabled WP debugging for now (via wp-config.php) as it’s not logging any errors except for deprecation notice related to your “Bible Gateway” plugin – it’s not causing any issues but it would be suggested that plugin developer would update plugin code for full compatibility with PHP 7.x.

    Best regards,
    Adam