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/wp-conte.../plugins/string-l.../views/template...
File: search-default.php
<?php
[0] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[1] Fix | Delete
die();
[2] Fix | Delete
}
[3] Fix | Delete
?>
[4] Fix | Delete
<script id="tmpl-string-locator-search-result" type="text/template">
[5] Fix | Delete
<tr data-type="file" data-linenum="{{ data.linenum }}" data-filename="{{ data.filename_raw }}">
[6] Fix | Delete
<th scope="row" class="check-column">
[7] Fix | Delete
<input type="checkbox" name="string-locator-replace-checked[]" class="check-column-box">
[8] Fix | Delete
</th>
[9] Fix | Delete
<td>
[10] Fix | Delete
{{{ data.stringresult }}}
[11] Fix | Delete
[12] Fix | Delete
<div class="row-actions">
[13] Fix | Delete
<# if ( data.editurl ) { #>
[14] Fix | Delete
<span class="edit">
[15] Fix | Delete
<a href="{{ data.editurl }}" aria-label="<?php esc_attr_e( 'Edit', 'string-locator' ); ?>">
[16] Fix | Delete
<?php esc_html_e( 'Edit', 'string-locator' ); ?>
[17] Fix | Delete
</a>
[18] Fix | Delete
</span>
[19] Fix | Delete
<# } #>
[20] Fix | Delete
</div>
[21] Fix | Delete
</td>
[22] Fix | Delete
<td>
[23] Fix | Delete
<# if ( data.editurl ) { #>
[24] Fix | Delete
<a href="{{ data.editurl }}">
[25] Fix | Delete
{{ data.filename_raw }}
[26] Fix | Delete
</a>
[27] Fix | Delete
<# } #>
[28] Fix | Delete
<# if ( ! data.editurl ) { #>
[29] Fix | Delete
{{ data.filename_raw }}
[30] Fix | Delete
<# } #>
[31] Fix | Delete
</td>
[32] Fix | Delete
<td>
[33] Fix | Delete
{{ data.linenum }}
[34] Fix | Delete
</td>
[35] Fix | Delete
<td>
[36] Fix | Delete
{{ data.linepos }}
[37] Fix | Delete
</td>
[38] Fix | Delete
</tr>
[39] Fix | Delete
</script>
[40] Fix | Delete
[41] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function