Passing null to parameter #2 ($subject) of type string is deprecated
-
Hi, after getting infected by a malware, successfully cleaned, my scanner still giving these two errors when check for malwares:
[Aug 07 15:32:24:1691415144.813800:1:error]?preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated (8192) File: /home/website/public_html/wp-content/plugins/wordfence/lib/wordfenceURLHoover.php Line: 114
[Aug 07 15:32:24:1691415144.810583:1:error]?Trying to access array offset on value of type bool (2) File: /home/website/public_html/wp-content/plugins/wordfence/lib/wordfenceURLHoover.php Line: 114
I’m running the website on CPanel 112 under Apache2 and PHP 8.1 – Wordfence Free
I’ve tried to delete and reinstall Wordfence cleaning all using Assistant, but the error still there.
Tried to downgrade PHP 7.4 too (since the first talk about deprecation).
Hope someone could help, many thanks
- The topic ‘Passing null to parameter #2 ($subject) of type string is deprecated’ is closed to new replies.