Sudden Issue With Wordfence Code In user.ini Causing 500 Error
-
Hello,
I have been a user of Wordfence for several years on multiple websites.
This morning I awoke to a notice on an uptime detector that I use that my website went down earlier in the morning, and indeed upon looking, my website was showing a 500 error.
After much frustration and diagnosing (I am indeed an amateur), I came across an article noting potential issues with Wordfence adding code to the user.ini file that can cause this issue. Sure enough, upon deleting this code (website and directory redacted with “sample”):
; Wordfence WAF
[PHP]
auto_prepend_file = ‘/home2/sample/sample.com/wordfence-waf.php’
; END Wordfence WAF
the websites started working again.
My two key questions now are why did this suddenly start causing an issue when nothing was changed that I am aware of concerning updates and also, what are the consequences, if any, of deleting this code while still utilizing Wordfence?
I appreciate any assistance/clarity on this.
- The topic ‘Sudden Issue With Wordfence Code In user.ini Causing 500 Error’ is closed to new replies.