PHP Notice breaks scan
-
On a client site a manual scan shows all files orange and nothing seems to happen.
Taking a look at ajax traffic shows this as response for first file
Notice: Array to string conversion in ../wp-content/plugins/antivirus/inc/class-antivirus-checkinternals.php on line 170
Line 170 contains
$line = trim( (string) $line );
Trying to cast an array like this triggers the above notice.
Would suggest to use another approach to make sure that $line is a string.
AntiVirus 1.4.1, same with 1.3.10, WordPress 5.6, PHP 7.4.13
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘PHP Notice breaks scan’ is closed to new replies.