Huge number of PHP errors
-
I’m seeing many Wordfence PHP errors in the error log.
Current PHP version is 5.6.40As far as I can tell, Wordfence is still working ok, but here’s what the errors look like:-
Stack trace:
#0 /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(254): wfWAFAttackDataStorageFileEngine::unpackMicrotime(”)
#1 [internal function]: wfWAFStorageFile->_getAttackDataRowsNewerThan(Resource id #27, 61195, 1412)
#2 /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(1190): call_user_func(Array, Resource id #27, 61195, 1412)
#3 /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(239): wfWAFAttackDataStorageFileEngine->scanRowsReverse(Array)
#4 /home/becomeab/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php(8097): wfWAFStorageFile- in /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 921
[17-Jul-2019 12:02:28 UTC] PHP Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘wfWAFAttackDataStorageFileEngine::unpackMicrotime $binary expected to be string with length of 8, received string of length 0’ in /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php:921
Stack trace:
#0 /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(254): wfWAFAttackDataStorageFileEngine::unpackMicrotime(”)
#1 [internal function]: wfWAFStorageFile->_getAttackDataRowsNewerThan(Resource id #25, 61195, 1412)
#2 /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(1190): call_user_func(Array, Resource id #25, 61195, 1412)
#3 /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php(239): wfWAFAttackDataStorageFileEngine->scanRowsReverse(Array)
#4 /home/becomeab/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php(8097): wfWAFStorageFile- in /home/becomeab/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 921
[17-Jul-2019 12:02:30 UTC] WordPress database error Commands out of sync; you can’t run this command now for query SELECT *, CASE
WHENtype= 3 THEN 0
WHENtype= 4 THEN 1
WHENtype= 7 THEN 2
WHENtype= 6 THEN 3
WHENtype= 5 THEN 4
WHENtype= 9 THEN 5
WHENtype= 8 THEN 6
WHENtype= 2 THEN 7
WHENtype= 1 THEN 8
ELSE 9999
END AStypeSort, CASE
WHENtype= 3 THENparameters
WHENtype= 4 THENparameters
WHENtype= 1 THENIP
WHENtype= 9 THENIP
WHENtype= 5 THENIP
WHENtype= 6 THENIP
WHENtype= 7 THENIP
WHENtype= 2 THENIP
WHENtype= 8 THENIP
ELSE 9999
END ASdetailSortThe page I need help with: [log in to see the link]
The topic ‘Huge number of PHP errors’ is closed to new replies.