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/advanced.../admin/views/ad-list
File: view-list.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Render the view navigation items on the ad list.
[2] Fix | Delete
*
[3] Fix | Delete
* @var array $views_new list of views.
[4] Fix | Delete
* @var bool $show_trash_delete_button if the trash delete button is visible.
[5] Fix | Delete
*/
[6] Fix | Delete
?>
[7] Fix | Delete
<ul class="advanced-ads-ad-list-views">
[8] Fix | Delete
<?php foreach ( $views_new as $class => $view ) : ?>
[9] Fix | Delete
<li class="button <?php echo esc_attr( $class ); ?>">
[10] Fix | Delete
<?php
[11] Fix | Delete
echo wp_kses( $view, [
[12] Fix | Delete
'a' => [ 'href' => [] ],
[13] Fix | Delete
'span' => [ 'class' => [] ],
[14] Fix | Delete
] );
[15] Fix | Delete
?>
[16] Fix | Delete
</li>
[17] Fix | Delete
<?php endforeach; ?>
[18] Fix | Delete
</ul>
[19] Fix | Delete
<?php if ( $show_trash_delete_button ) : ?>
[20] Fix | Delete
<button type="submit" name="delete_all" id="delete_all" class="button advads-button-primary">
[21] Fix | Delete
<span class="dashicons dashicons-trash"></span><?php esc_html_e( 'Empty Trash', 'advanced-ads' ); ?>
[22] Fix | Delete
</button>
[23] Fix | Delete
<?php
[24] Fix | Delete
endif;
[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