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/wordfenc.../lib
File: wfRESTAPI.php
<?php
[0] Fix | Delete
if (defined('ABSPATH')) {
[1] Fix | Delete
class wfWP_REST_Users_Controller extends WP_REST_Users_Controller
[2] Fix | Delete
{
[3] Fix | Delete
public static function wfGetURLBase() {
[4] Fix | Delete
$controller = new wfWP_REST_Users_Controller();
[5] Fix | Delete
return rtrim($controller->namespace . '/' . $controller->rest_base, '/');
[6] Fix | Delete
}
[7] Fix | Delete
[8] Fix | Delete
public function _wfGetURLBase() {
[9] Fix | Delete
return rtrim($this->namespace, '/' . $this->rest_base, '/');
[10] Fix | Delete
}
[11] Fix | Delete
}
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function