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.../themes/Divi/includes/builder/frontend.../theme-bu...
File: frontend-footer-template.php
<?php
[0] Fix | Delete
$layouts = et_theme_builder_get_template_layouts();
[1] Fix | Delete
?>
[2] Fix | Delete
<?php
[3] Fix | Delete
et_theme_builder_frontend_render_footer(
[4] Fix | Delete
$layouts[ ET_THEME_BUILDER_FOOTER_LAYOUT_POST_TYPE ]['id'],
[5] Fix | Delete
$layouts[ ET_THEME_BUILDER_FOOTER_LAYOUT_POST_TYPE ]['enabled'],
[6] Fix | Delete
$layouts[ ET_THEME_BUILDER_TEMPLATE_POST_TYPE ]
[7] Fix | Delete
);
[8] Fix | Delete
?>
[9] Fix | Delete
[10] Fix | Delete
<?php if ( et_core_is_fb_enabled() && et_theme_builder_is_layout_post_type( get_post_type() ) ) : ?>
[11] Fix | Delete
<?php // Hide the footer when we are editing a TB layout. ?>
[12] Fix | Delete
<div class="et-tb-fb-footer" style="display: none;">
[13] Fix | Delete
<?php wp_footer(); ?>
[14] Fix | Delete
</div>
[15] Fix | Delete
<?php else : ?>
[16] Fix | Delete
<?php wp_footer(); ?>
[17] Fix | Delete
<?php endif; ?>
[18] Fix | Delete
[19] Fix | Delete
<?php if ( ! et_is_builder_plugin_active() && 'on' === et_get_option( 'divi_back_to_top', 'false' ) ) : ?>
[20] Fix | Delete
<span class="et_pb_scroll_top et-pb-icon"></span>
[21] Fix | Delete
<?php endif; ?>
[22] Fix | Delete
</body>
[23] Fix | Delete
</html>
[24] Fix | Delete
[25] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function