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/themify-.../includes/tpl
File: tmpl-revisions.php
<?php
[0] Fix | Delete
[1] Fix | Delete
defined( 'ABSPATH' ) || exit;
[2] Fix | Delete
$time=current_time( 'timestamp');
[3] Fix | Delete
if ( ! empty( $revisions )):?>
[4] Fix | Delete
<ul class="tb_revision_lists">
[5] Fix | Delete
<?php foreach( $revisions as $revision ):?>
[6] Fix | Delete
<?php
[7] Fix | Delete
if(!Themify_Builder_Revisions::check_has_builder( $revision->ID )){
[8] Fix | Delete
continue;
[9] Fix | Delete
}
[10] Fix | Delete
$rev_comment = get_metadata( 'post', $revision->ID, '_builder_custom_rev_comment', true );
[11] Fix | Delete
$is_deleteable =$post_id !== $revision->ID && $can_edit_post && ! wp_is_post_autosave( $revision ) ;
[12] Fix | Delete
if($is_deleteable===false && empty($rev_comment)){
[13] Fix | Delete
continue;
[14] Fix | Delete
}
[15] Fix | Delete
$date = date_i18n( __( 'd/m/Y @ h:i:s a', 'themify' ), strtotime( $revision->post_modified ) );
[16] Fix | Delete
$time_diff = human_time_diff( strtotime( $revision->post_modified ),$time );
[17] Fix | Delete
?>
[18] Fix | Delete
<li>
[19] Fix | Delete
<?php if($is_deleteable===true):?>
[20] Fix | Delete
<a href="#" title="<?php esc_attr_e( 'Click to restore this revision', 'themify' )?>" class="js-builder-restore-revision-btn" data-id="<?php echo $revision->ID ?>"><?php echo sprintf( '%s (%s ago)', $date, $time_diff ); ?></a>
[21] Fix | Delete
<?php endif;?>
[22] Fix | Delete
[23] Fix | Delete
<?php if(! empty( $rev_comment )):?>
[24] Fix | Delete
<small>(<?php echo $rev_comment?>)</small>
[25] Fix | Delete
<?php endif;?>
[26] Fix | Delete
<?php if($is_deleteable===true):?>
[27] Fix | Delete
<button type="button" title="<?php esc_attr_e( 'Delete this revision', 'themify' )?>" class="js-builder-delete-revision-btn tf_close" data-id="<?php echo $revision->ID ?>"></button>
[28] Fix | Delete
<?php endif;?>
[29] Fix | Delete
</li>
[30] Fix | Delete
<?php endforeach?>
[31] Fix | Delete
</ul>
[32] Fix | Delete
<?php else:?>
[33] Fix | Delete
<p><?php _e( 'No Revision found.', 'themify' ) ?></p>
[34] Fix | Delete
<?php endif;
[35] Fix | Delete
[36] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function