Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/blogvaul.../protect/logger
File: fs.php
<?php
[0] Fix | Delete
if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;
[1] Fix | Delete
[2] Fix | Delete
if (!class_exists('BVProtectLoggerFS_V565')) :
[3] Fix | Delete
class BVProtectLoggerFS_V565 {
[4] Fix | Delete
public $logFile;
[5] Fix | Delete
[6] Fix | Delete
function __construct($filename) {
[7] Fix | Delete
$this->logFile = $filename;
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
public function log($data) {
[11] Fix | Delete
$_data = serialize($data);
[12] Fix | Delete
$str = "bvlogbvlogbvlog" . ":";
[13] Fix | Delete
$str .= strlen($_data) . ":" . $_data;
[14] Fix | Delete
error_log($str, 3, $this->logFile);
[15] Fix | Delete
}
[16] Fix | Delete
}
[17] Fix | Delete
endif;
[18] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function