WAF and json_decrypt() PHP Errors
-
Quick note to let you know that WAF causes a PHP error on servers that have the json PHP module disabled. Had it disabled on my servers because it wasn’t required until WAF activated.
Here is an error log entry for you to look at:
[19-Apr-2016 13:23:44 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function json_decode() in /home/example/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php:1263 Stack trace: #0 /home/example/public_html/wp-content/plugins/wordfence/waf/bootstrap.php(135): wfWAFCronFetchRulesEvent->fire() #1 /home/example/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php(193): wfWAFWordPress->runCron() #2 /home/example/public_html/wp-content/plugins/wordfence/waf/bootstrap.php(234): wfWAF->run() #3 /home/example/public_html/wordfence-waf.php(6): include_once('/home/example/...') #4 {main} thrown in /home/example/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php on line 1263Had a shock to see a dozen of my sites off-line because I had json disabled.
Enabling the module resolves the issue.
This notice is in case others are hit by it.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘WAF and json_decrypt() PHP Errors’ is closed to new replies.