Fatal Error when activating
-
I recently had to rehost my website manually from backups. I had to reinstall or reactivate all of my plugins including Wordfence, but it threw a fatal error
Fatal error: Uncaught Error: Call to undefined function filter_var() in /home/dh_6usrzb/tlinwright.com/wp-content/plugins/wordfence/waf/bootstrap.php:177 Stack trace: #0 /home/dh_6usrzb/tlinwright.com/wp-content/plugins/wordfence/waf/bootstrap.php(150): wfWAFWordPressRequest->_isValidIP(‘24.176.156.161’)
#1 /home/dh_6usrzb/tlinwright.com/wp-content/plugins/wordfence/waf/bootstrap.php(70): wfWAFWordPressRequest->_getCleanIPAndServerVar(Array)
#2 /home/dh_6usrzb/tlinwright.com/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php(259): wfWAFWordPressRequest->getIP()
#3 /home/dh_6usrzb/tlinwright.com/wp-content/plugins/wordfence/waf/bootstrap.php(814): wfWAF->run()
#4 /home/dh_6usrzb/tlinwright.com/wp-content/plugins/wordfence/wordfence.php(69): require_once(‘/home/dh_6usrzb…’)
#5 /home/dh_6usrzb/tlinwright.com/wp-admin/includes/plugin.php(2223): include(‘/home/dh_6usrzb…’)
#6 /home/dh_6usrzb/tlinwright.com/wp-admin/plugins.php(175): plugin_sandbox_scrape(‘wordfence/wordf…’)
#7 {main} thrown in /home/dh_6usrzb/tlinwright.com/wp-content/plugins/wordfence/waf/bootstrap.php on line 177The IP address shown above is not to my site but to my personal device. I had the full database backed up as of Dec 20, and rehosted Dec 22. It installs fine but fails at activation.
The topic ‘Fatal Error when activating’ is closed to new replies.