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.../themes/herald
File: index.php
<?php get_header(); ?>
[0] Fix | Delete
[1] Fix | Delete
<?php if( $fa = herald_get_featured_area() ) : ?>
[2] Fix | Delete
<?php if(!empty($fa['query']) && !empty( $fa['query']->posts ) ): ?>
[3] Fix | Delete
<?php $fa_query = $fa['query']; ?>
[4] Fix | Delete
<div class="herald-section container herald-no-sid">
[5] Fix | Delete
<div class="row">
[6] Fix | Delete
<div class="herald-module col-lg-12 col-md-12">
[7] Fix | Delete
<?php herald_set_img_flag('full'); ?>
[8] Fix | Delete
<?php include( locate_template('template-parts/featured/area-'. $fa['layout'].'.php' ) ); ?>
[9] Fix | Delete
<?php herald_set_img_flag(''); ?>
[10] Fix | Delete
</div>
[11] Fix | Delete
</div>
[12] Fix | Delete
</div>
[13] Fix | Delete
<?php endif; ?>
[14] Fix | Delete
<?php endif; ?>
[15] Fix | Delete
[16] Fix | Delete
<?php global $herald_sidebar_opts; ?>
[17] Fix | Delete
<?php $section_class = $herald_sidebar_opts['use_sidebar'] == 'none' ? 'herald-no-sid' : '' ?>
[18] Fix | Delete
[19] Fix | Delete
<div class="herald-section container <?php echo esc_attr($section_class); ?>">
[20] Fix | Delete
[21] Fix | Delete
<div class="row">
[22] Fix | Delete
[23] Fix | Delete
<?php if($herald_sidebar_opts['use_sidebar'] == 'left'): ?>
[24] Fix | Delete
<?php get_sidebar(); ?>
[25] Fix | Delete
<?php endif; ?>
[26] Fix | Delete
[27] Fix | Delete
<?php $wrap_class = $herald_sidebar_opts['use_sidebar'] != 'none' ? 'herald-main-content col-lg-9 col-md-9' : 'col-lg-12 col-md-12' ?>
[28] Fix | Delete
[29] Fix | Delete
<div class="herald-module col-mod-main <?php echo esc_attr($wrap_class); ?>">
[30] Fix | Delete
[31] Fix | Delete
<?php echo herald_get_archive_heading(); ?>
[32] Fix | Delete
[33] Fix | Delete
<?php $ad_position = herald_get_option('ad_between_posts') ? absint( herald_get_option('ad_between_posts_position') - 1 ) : false ; ?>
[34] Fix | Delete
[35] Fix | Delete
<div class="row row-eq-height herald-posts">
[36] Fix | Delete
<?php if(have_posts()): ?>
[37] Fix | Delete
<?php $i = 0; while ( have_posts() ) : the_post(); ?>
[38] Fix | Delete
<?php get_template_part('template-parts/layouts/content', herald_get_current_post_layout( $i ) ); ?>
[39] Fix | Delete
<?php if( $i === $ad_position ) { get_template_part('template-parts/ads/between-posts'); } ?>
[40] Fix | Delete
<?php $i++; endwhile; ?>
[41] Fix | Delete
<?php else : ?>
[42] Fix | Delete
<?php get_template_part('template-parts/layouts/content-none' ); ?>
[43] Fix | Delete
<?php endif;?>
[44] Fix | Delete
</div>
[45] Fix | Delete
[46] Fix | Delete
<?php if( $pagination = herald_get_current_pagination() ) : ?>
[47] Fix | Delete
<?php get_template_part( 'template-parts/pagination/' . $pagination ); ?>
[48] Fix | Delete
<?php endif; ?>
[49] Fix | Delete
[50] Fix | Delete
</div>
[51] Fix | Delete
[52] Fix | Delete
<?php if( $herald_sidebar_opts['use_sidebar'] == 'right' ): ?>
[53] Fix | Delete
<?php get_sidebar(); ?>
[54] Fix | Delete
<?php endif; ?>
[55] Fix | Delete
[56] Fix | Delete
</div>
[57] Fix | Delete
[58] Fix | Delete
</div>
[59] Fix | Delete
[60] Fix | Delete
<?php get_footer(); ?>
[61] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function