deleted old wordfence-waf.php and now site is not working properly
-
I had Wordfence installed on one of my sites and then had to remove it because it was stopping a flickr feed from working, something to do with timthumb. So the plugin is no longer in there at all. However, there was a file called wordfence-waf.php that I deleted, thinking that it wasn’t needed anymore. This caused a fatal error and the site wouldn’t load. I checked the .htaccess file and there is no reference to the file there. Then I recreated the file based on someone’s suggestion, copied in the code below and named it wordfence-waf.php. The site shows up now, sort of, but it says it can’t find the server on certain pages. How can I fix this? I can’t find a php.ini file to look at.
<?php
// Before removing this file, please verify the PHP ini setting ‘auto_prepend_file’ does not point to this.if (file_exists(‘<https://www.mysite.ca/wp-content/plugins/wordfence/waf/bootstrap.php’)) {
define(“WFWAF_LOG_PATH”, ‘<https://www.mysite.ca/wp-content/wflogs/’);
include_once ‘<https://www.mysite.ca/wp-content/plugins/wordfence/waf/bootstrap.php’;
}
?>
- The topic ‘deleted old wordfence-waf.php and now site is not working properly’ is closed to new replies.