: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;
if (!class_exists('BVProtectLoggerFS_V565')) :
class BVProtectLoggerFS_V565 {
function __construct($filename) {
$this->logFile = $filename;
public function log($data) {
$_data = serialize($data);
$str = "bvlogbvlogbvlog" . ":";
$str .= strlen($_data) . ":" . $_data;
error_log($str, 3, $this->logFile);