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: db.php
<?php
[0] Fix | Delete
if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;
[1] Fix | Delete
[2] Fix | Delete
if (!class_exists('BVProtectLoggerDB_V565')) :
[3] Fix | Delete
class BVProtectLoggerDB_V565 {
[4] Fix | Delete
private $tablename;
[5] Fix | Delete
private $bv_tablename;
[6] Fix | Delete
[7] Fix | Delete
const MAXROWCOUNT = 100000;
[8] Fix | Delete
[9] Fix | Delete
function __construct($tablename) {
[10] Fix | Delete
$this->tablename = $tablename;
[11] Fix | Delete
$this->bv_tablename = BVProtect_V565::$db->getBVTable($tablename);
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
public function log($data) {
[15] Fix | Delete
if (is_array($data)) {
[16] Fix | Delete
if (BVProtect_V565::$db->rowsCount($this->bv_tablename) > BVProtectLoggerDB_V565::MAXROWCOUNT) {
[17] Fix | Delete
BVProtect_V565::$db->deleteRowsFromtable($this->tablename, 1);
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
BVProtect_V565::$db->replaceIntoBVTable($this->tablename, $data);
[21] Fix | Delete
}
[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