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
File: logger.php
<?php
[0] Fix | Delete
if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;
[1] Fix | Delete
[2] Fix | Delete
if (!class_exists('BVProtectLogger_V565')) :
[3] Fix | Delete
require_once dirname( __FILE__ ) . '/logger/fs.php';
[4] Fix | Delete
require_once dirname( __FILE__ ) . '/logger/db.php';
[5] Fix | Delete
[6] Fix | Delete
class BVProtectLogger_V565 {
[7] Fix | Delete
private $log_destination;
[8] Fix | Delete
[9] Fix | Delete
const TYPE_FS = 0;
[10] Fix | Delete
const TYPE_DB = 1;
[11] Fix | Delete
[12] Fix | Delete
function __construct($name, $type = BVProtectLogger_V565::TYPE_DB) {
[13] Fix | Delete
if ($type == BVProtectLogger_V565::TYPE_FS) {
[14] Fix | Delete
$this->log_destination = new BVProtectLoggerFS_V565($name);
[15] Fix | Delete
} else {
[16] Fix | Delete
$this->log_destination = new BVProtectLoggerDB_V565($name);
[17] Fix | Delete
}
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
public function log($data) {
[21] Fix | Delete
$this->log_destination->log($data);
[22] Fix | Delete
}
[23] Fix | Delete
}
[24] Fix | Delete
endif;
[25] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function