• Resolved dozza

    (@dozza)


    A client site went down over the weekend. Hosting support tracked the issue down to Wordfence:

    “It appears the issue is coming from Wordfence. A misconfiguration can cause the error you are seeing. The scan time of Wordfence should be set to 180 seconds, (3 minutes) and should not exceed this amount.”

    So I can get the site back up by disabling wordfence via FTP. But as soon as I reactivate within admin, to reconfigure the scan time, the site goes down again. How do I get around this catch 22?

    • This topic was modified 6 years, 1 month ago by dozza.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @dozza,

    You can manually edit the maximum scan time from the database.

    1. Get into mysql (with either the terminal or web-based database plugin)
    2. Use the wordpress database
    3. Run the following query:

    UPDATE wp_wfconfig SET val = 180 WHERE name = "scan_maxDuration";

    If after setting those values and attempting to reactivate Wordfence still crashes your site, I would try reinstalling the plugin.

    Dave

    wfasa

    (@wfasa)

    Hi @dozza,
    If you were on Heart or reg-123 hosting, this issue should now be resolved. Let us know if you’re still having problems!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scan time brining site down’ is closed to new replies.