Support » Plugin: Wordfence defense - Firewall & Malware Scan » fatal Error-Warning: Unknown: fail to open stream (etc)


Resolved
*
wpwd2016

(

Reference: https://couchsurfingcook.com/support/topic/fatal-error-with-wordfence-2/

I experienced a deadly Error in couchsurfingcook.com, here is the error message in the web browser window.

Warning: Unknown: failed to open stream: No such record or catalog in Unknown on heat 0Warning: Unknown: failed to open stream: No such document or brochure in Unknown on line 0Fatal error: Unknown: fail opening required '/home/emseeeng/public_html/wordfence-waf.php' (include_path='.:/usr/local/php71/pear') in Unknown on heat 0This is what happened,

I logged into the website,Went come “WordFence > All alternatives > general WordFence choices / and also checked “Delete WordFence tables and also data ~ above deactivation”, climate saved.I clicked “Plugins” in the menu, display screen page changed to the fatal error white page. Any Admin food selection item clicked would an outcome in a fatal errorI confirm the website domain URL chin in another browser, same fatal error message.

You are watching: Warning: unknown: failed to open stream: no such file or directory in unknown on line 0

Researching this error, the Google result came approximately the referenced link above. I check out that post and the WordFence rep spoke around the “wordfence-waf.php” file. I checked out FTP, looked at the root folder because that the website to check out that the “wordfence-waf.php” paper was missing.

I checked out my backup of the site and located the “wordfence-waf.php” file, it remained in the root folder when I backed up in Dec 2018.

I FTP uploaded the PHP paper to the website source folder.

That solved the fatal Error, and also all was back to normal.

Conclusion:The lack of the “waf” document caused the error. Exactly how that record was removed, I perform not know. Possibly WordFence turned off it when I confirm that choice as defined above, or someone obtained into the root and deleted it, however the site worked until I checked that WordFence option and saved the change, which dropped the website right into a fatal error.

Moral that this story, constantly make a an excellent backup of your couchsurfingcook.com site, consisting of all source files. Most back-up plugins currently do not encompass root papers (which is really dumb). To correctly backup, I had actually to download every root papers via FTP and also ZIP them, then incorporate that ZIP in the back-up archive that the website.

See more: Im Looking For Mike Memes - Looking For Mike (Short 2016)

Glad i did.

QuestionWas this some glitch that emerged erasing the WAF document or can this be a hacker acquiring in and removing the file?