trying to determine what is causing a site to white screen

Hi,
A client's site is white screening. Here is the error log:
https://docs.google.com/document/d/1pCCAUXbl3tUr0JDfcm1gHMDNrgD44Rsnq8mTkwM1xZA/edit?usp=sharing

Can you please tell me what is causing this?

Corn

  • Adam Czajczyk

    Hello Corn,

    I hope you're doing fine today!

    Thank you for posting error log. the issue here is that the "wordfence-waf.php" file cannot be open by WordPress.

    This file comes from WordFence plugin and is used for WordFence Web Application Firewall. If the plugin is enabled with application firewall option enabled, removing that file would cause such issue.

    To fix it, follow these steps:

    - access your site using FTP or cPanel's "File Manager" tool
    - in a root folder of the site look for "user.ini" or ".user.ini" file (the latter one includes a dot at the beginning of a file name so you need to make sure that you got option to show hidden files enabled)
    - view the file to confirm if it includes code similar to this:

    ; Wordfence WAF
    auto_prepend_file = '/path_to_your_site/wordfence-waf.php'
    ; END Wordfence WAF

    If it does, just remove the file and it should bring the site back.

    Once you got the site up and running you will want to go to WordFence settings end either make sure that Firewall is disabled or enable it again and then if Defender shows "wordfence-waf.php" file as "suspicious", ignore that warning.

    Best regards,
    Adam