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/custom-t.../template...
File: item.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Smash Balloon Custom Twitter Feeds Item Template
[2] Fix | Delete
* Information about the person tweeting, replying, or quoting
[3] Fix | Delete
*
[4] Fix | Delete
* @version 2.0.4 Custom Twitter Feeds by Smash Balloon
[5] Fix | Delete
*
[6] Fix | Delete
*/
[7] Fix | Delete
use TwitterFeed\CTF_Parse;
[8] Fix | Delete
use TwitterFeed\CTF_Display_Elements;
[9] Fix | Delete
[10] Fix | Delete
$post = CTF_Parse::get_post( $tweet_set[$i] );
[11] Fix | Delete
$tweet_classes = CTF_Display_Elements::get_item_classes( $tweet_set, $feed_options, $i);
[12] Fix | Delete
$num_media = false;
[13] Fix | Delete
$retweet_data_att = CTF_Display_Elements::get_retweet_attr( $post, $this->check_for_duplicates );
[14] Fix | Delete
$author_screen_name = CTF_Parse::get_author_screen_name( $post );
[15] Fix | Delete
$post_id = CTF_Parse::get_post_id( $post );
[16] Fix | Delete
$post_media_text = CTF_Display_Elements::get_post_media_text( $tweet_set[$i],$feed_options );
[17] Fix | Delete
$post_media_count = CTF_Display_Elements::get_post_media_text( $tweet_set[$i],$feed_options, 'media_count' );
[18] Fix | Delete
$multi_class = ( $post_media_count > 1 ) ? ' ctf-multi-media-icon' : '';
[19] Fix | Delete
$post_text = CTF_Display_Elements::post_text( $post, $feed_options );
[20] Fix | Delete
[21] Fix | Delete
$quoted = CTF_Parse::get_quoted_tc( $post );
[22] Fix | Delete
$quoted_media = CTF_Parse::get_quoted_media( $quoted, $num_media );
[23] Fix | Delete
$post_text_attr = CTF_Display_Elements::get_post_text_attr( $post_text, $feed_options, $post_id );
[24] Fix | Delete
$text_and_link_attr = CTF_Display_Elements::get_element_attribute( 'text_and_link', $feed_options );
[25] Fix | Delete
$text_no_link_attr = CTF_Display_Elements::get_element_attribute( 'text_no_link', $feed_options );
[26] Fix | Delete
?>
[27] Fix | Delete
[28] Fix | Delete
<div <?php echo $tweet_classes ?> id="<?php echo esc_attr( $post_id ); ?>" <?php echo $retweet_data_att ?>>
[29] Fix | Delete
[30] Fix | Delete
<?php include ctf_get_feed_template_part( 'author', $feed_options ); ?>
[31] Fix | Delete
<div class="ctf-tweet-content">
[32] Fix | Delete
<?php
[33] Fix | Delete
if (ctf_show( 'text', $feed_options )) :
[34] Fix | Delete
CTF_Display_Elements::get_post_text( $feed_options, $post_text, $post_id, $author_screen_name, $post_media_text );
[35] Fix | Delete
endif;
[36] Fix | Delete
?>
[37] Fix | Delete
</div>
[38] Fix | Delete
[39] Fix | Delete
<?php
[40] Fix | Delete
if (ctf_show( 'linkbox', $feed_options ) && isset( $quoted )) {
[41] Fix | Delete
include ctf_get_feed_template_part( 'linkbox', $feed_options );
[42] Fix | Delete
}
[43] Fix | Delete
?>
[44] Fix | Delete
<?php include ctf_get_feed_template_part( 'actions', $feed_options ); ?>
[45] Fix | Delete
</div>
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function