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/leadin/public/includes
File: api-loader.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Leadin;
[2] Fix | Delete
[3] Fix | Delete
use Leadin\api\Healthcheck_Api_Controller;
[4] Fix | Delete
[5] Fix | Delete
use Leadin\admin\api\Internal_Tracking_Api_Controller;
[6] Fix | Delete
use Leadin\admin\api\Hublet_Api_Controller;
[7] Fix | Delete
use Leadin\admin\api\User_Meta_Api_Controller;
[8] Fix | Delete
use Leadin\admin\api\Portal_Api_Controller;
[9] Fix | Delete
[10] Fix | Delete
add_action(
[11] Fix | Delete
'rest_api_init',
[12] Fix | Delete
'Leadin\\leadin_register_routes'
[13] Fix | Delete
);
[14] Fix | Delete
[15] Fix | Delete
/**
[16] Fix | Delete
* Register api endpoints.
[17] Fix | Delete
*/
[18] Fix | Delete
function leadin_register_routes() {
[19] Fix | Delete
new Healthcheck_Api_Controller();
[20] Fix | Delete
// Admin routes.
[21] Fix | Delete
new Internal_Tracking_Api_Controller();
[22] Fix | Delete
new Hublet_Api_Controller();
[23] Fix | Delete
new User_Meta_Api_Controller();
[24] Fix | Delete
new Portal_Api_Controller();
[25] Fix | Delete
}
[26] Fix | Delete
[27] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function