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: page.php
<?php get_header(); ?>
[0] Fix | Delete
[1] Fix | Delete
<?php global $herald_sidebar_opts; ?>
[2] Fix | Delete
<?php $section_class = $herald_sidebar_opts['use_sidebar'] == 'none' ? 'herald-no-sid' : '' ?>
[3] Fix | Delete
[4] Fix | Delete
<div class="herald-section container <?php echo esc_attr($section_class); ?>">
[5] Fix | Delete
[6] Fix | Delete
<?php while ( have_posts() ) : the_post(); ?>
[7] Fix | Delete
<article id="post-<?php the_ID(); ?>" <?php post_class('herald-page'); ?>>
[8] Fix | Delete
<div class="row">
[9] Fix | Delete
<?php
[10] Fix | Delete
$layout = herald_get_page_layout();
[11] Fix | Delete
if( in_array( $layout, array('4','5', '6') ) ){
[12] Fix | Delete
herald_set_img_flag('full');
[13] Fix | Delete
} else {
[14] Fix | Delete
herald_set_img_flag('sid');
[15] Fix | Delete
}
[16] Fix | Delete
?>
[17] Fix | Delete
<?php get_template_part( 'template-parts/page/layout', $layout ); ?>
[18] Fix | Delete
</div>
[19] Fix | Delete
</article>
[20] Fix | Delete
<?php endwhile; ?>
[21] Fix | Delete
</div>
[22] Fix | Delete
[23] Fix | Delete
<?php get_footer(); ?>
[24] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function