Title: Wordfence 504 error
Last modified: February 7, 2018

---

# Wordfence 504 error

 *  Resolved [sprocker](https://wordpress.org/support/users/sprocker/)
 * (@sprocker)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/wordfence-504-error/)
 * Hi, I added wordfence to a site and all seemed OK.
 * This morning the site would not load. Narrowed it down to the WordFence plugin.
   Removed it and try to re-install but not able to activate it due to a 504 error.
 * I changed the theme to Twenty Seventeen and removed all other plugins, tried 
   php 5.6 and 7.0 but still got the 504 error.
 * I even tried moving the site to another host, but still the sale 504 error.
 * What can I do to resolve this?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [wfyann](https://wordpress.org/support/users/wfyann/)
 * (@wfyann)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/wordfence-504-error/#post-9952957)
 * Hi [@sprocker](https://wordpress.org/support/users/sprocker/),
 * Can you confirm that the owner of the “_wp-content/wflogs_” folder is the same
   user the Web server runs as?
 * Are you able to access the site if you delete the “_wflogs/_” folder (which will
   be automatically recreated when the first visit occurs)? Do you notice a change
   in ownership for that specific folder?
 *  Thread Starter [sprocker](https://wordpress.org/support/users/sprocker/)
 * (@sprocker)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/wordfence-504-error/#post-9953034)
 * wflog was the root of my problem, I could not delete so I renamed and then the
   plugin activated without issue.
 * Many thanks for your help,
    Deb

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Wordfence 504 error’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [timeout](https://wordpress.org/support/topic-tag/timeout/)

 * 2 replies
 * 2 participants
 * Last reply from: [sprocker](https://wordpress.org/support/users/sprocker/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/wordfence-504-error/#post-9953034)
 * Status: resolved