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/dashboar...
File: widget_content_ips.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } ?>
[0] Fix | Delete
<?php //$data is defined here as an array of login attempts: array('IP' => binary ip, 'countryCode' => string, 'blockCount' => int, 'unixday' => int, 'countryName' => string) ?>
[1] Fix | Delete
<table class="wf-table wf-table-hover">
[2] Fix | Delete
<thead>
[3] Fix | Delete
<tr>
[4] Fix | Delete
<th><?php esc_html_e('IP', 'wordfence') ?></th>
[5] Fix | Delete
<th colspan="2"><?php esc_html_e('Country', 'wordfence') ?></th>
[6] Fix | Delete
<th><?php esc_html_e('Block Count', 'wordfence') ?></th>
[7] Fix | Delete
</tr>
[8] Fix | Delete
</thead>
[9] Fix | Delete
<tbody>
[10] Fix | Delete
<?php foreach ($data as $l): ?>
[11] Fix | Delete
<tr>
[12] Fix | Delete
<td><?php echo esc_html(wfUtils::inet_ntop($l['IP'])); ?></td>
[13] Fix | Delete
<td><?php echo esc_html($l['countryName']); ?></td>
[14] Fix | Delete
<td><span class="wf-flag <?php echo esc_attr('wf-flag-' . strtolower($l['countryCode'])); ?>" title="<?php echo esc_attr($l['countryName']); ?>"></span></td>
[15] Fix | Delete
<td><?php echo esc_html(number_format_i18n($l['blockCount'])); ?></td>
[16] Fix | Delete
</tr>
[17] Fix | Delete
<?php endforeach; ?>
[18] Fix | Delete
</tbody>
[19] Fix | Delete
</table>
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function