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