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/advanced.../views/admin/tables/groups
File: list-row-ads.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Single ad item in the list of ads in a group.
[2] Fix | Delete
*
[3] Fix | Delete
* @package AdvancedAds
[4] Fix | Delete
* @author Advanced Ads <info@wpadvancedads.com>
[5] Fix | Delete
*
[6] Fix | Delete
* @var int $i Ad index.
[7] Fix | Delete
* @var int $ad_id Ad ID.
[8] Fix | Delete
* @var string $ad_schedule_output Ad schedule output.
[9] Fix | Delete
* @var string $ad_weight_percentage Ad weight percentage.
[10] Fix | Delete
* @var Advanced_Ads_Group $group Group object.
[11] Fix | Delete
* @var int $weight_sum Sum of all ad weights.
[12] Fix | Delete
* @var WP_Query $ads WP Query object of all found posts.
[13] Fix | Delete
*/
[14] Fix | Delete
[15] Fix | Delete
?>
[16] Fix | Delete
<div style="display: <?php echo ( $i > 3 && $ads->found_posts !== 4) ? 'none' : 'flex'; ?>">
[17] Fix | Delete
<div>
[18] Fix | Delete
<a href="<?php echo esc_url( get_edit_post_link( $ad_id ) ); ?>"><?php echo esc_html( get_the_title() ); ?></a>
[19] Fix | Delete
</div>
[20] Fix | Delete
<div>
[21] Fix | Delete
<?php echo $ad_schedule_output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
[22] Fix | Delete
</div>
[23] Fix | Delete
<?php if ( 'default' === $group->type && $weight_sum ) : ?>
[24] Fix | Delete
<div class="advads-ad-group-list-ads-weight">
[25] Fix | Delete
<span title="<?php esc_attr_e( 'Ad weight', 'advanced-ads' ); ?>"><?php echo esc_html( $ad_weight_percentage ); ?></span>
[26] Fix | Delete
</div>
[27] Fix | Delete
<?php endif; ?>
[28] Fix | Delete
</div>
[29] Fix | Delete
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function