Can't remove – wordfence-waf.php file
-
NOTE: posting here because (apparently) posting to Wordfence Premium Support no longer available to me
hi,
i’ve removed wordfence (premium) from site and found this file –
/public_html/wordfence-waf.php remaining. (see code below)tried removing it and all my interior pages return –
“Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0Fatal error: Unknown: Failed opening required ‘/home/wwwaaaheatingac7/public_html/wordfence-waf.php’ (include_path=’.:/opt/php54/lib/php’) in Unknown on line 0″
had to return the file to get site backup
did a search and found no references mentioned in code comments below
does this mean that file has to remain forever?seems like a somewhat incomplete install to me…
Thanks
/public_html/wordfence-waf.php
<?php
// Before removing this file, please verify the PHP ini settingauto_prepend_file
does not point to this.if (file_exists(‘/home/siteusername/public_html/wp-content/plugins/wordfence/waf/bootstrap.php’)) {
define(“WFWAF_LOG_PATH”, ‘/home/siteusername/public_html/wp-content/wflogs/’);
include_once ‘/home/siteusername/public_html/wp-content/plugins/wordfence/waf/bootstrap.php’;
}
?>
- The topic ‘Can't remove – wordfence-waf.php file’ is closed to new replies.