We are facing PHP errors on site using Wordfence
-
Hi There, we are facing issues when we active Wordfence plugin, there are PHP issue, for now we have disabled the plugin, let us know what are these issues and how can those be fixed? This is message from WPEngine below ⬇️
The only phpfatal errors (500) showing in the logs are pointing to the wordfence plugin:
(4:32:38 PM) Nick R: | 25 | Uncaught ValueError: inet_pton(): Argument #1 ($ip) must not contain any null bytes in /nas/content/live/uptowncs/wp-content/plugins/wordfence/lib/wfUtils.php:916#012Stack trace:#012#0 |
| | /nas/content/live/uptowncs/wp-content/plugins/wordfence/lib/wfUtils.php(916): inet_pton(‘\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xFF\xFFB\xF9Y…’)#012#1 |
| | /nas/content/live/uptowncs/wp-content/plugins/wordfence/lib/wfCrawl.php(25): wfUtils::inet_pton(‘\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xFF\xFFB\xF9Y…’)#012#2 |
| | /nas/content/live/uptowncs/wp-content/plugins/wordfence/lib/wfCrawl.php(128): wfCrawl::verifyCrawlerPTR(‘/\\.(?:googlebot…’, ‘66.249.89.34’)#012#3 |
| | /nas/content/live/uptowncs/wp-content/plugins/wordfence/lib/wordfenceClass.php(2459): wfCrawl::isVerifiedGoogleCrawler()#012#4 /nas/content/live/uptowncs/wp-includes/class-wp-hook.php(324): |
| | wordfence::veryFirstAction(”)#012#5 /nas/content/live/uptowncs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(Object(Redirection), Array)#012#6 |
| | /nas/content/live/uptowncs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#7 /nas/content/live/uptowncs/wp-settings.php(578): do_action(‘plugins_loaded’)#012#8 |
| | /nas/content/live/uptowncs/wp-config.php(67): require_once(‘/nas/content/li…’)#012#9 /nas/content/live/uptowncs/wp-load.php(50): require_once(‘/nas/content/li…’)#012#10 |
| | /nas/content/live/uptowncs/wp-blog-header.php(13): require_once(‘/nas/content/li…’)#012#11 /nas/content/live/uptowncs/index.php(17): require(‘/nas/content/li…’)#012#12 {main}#012 thrown in |
| | /nas/content/live/uptowncs/wp-content/plugins/wordfence/lib/wfUtils.php on line 916Thanks
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.