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: actions.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Smash Balloon Custom Twitter Feeds Link Box 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_id = CTF_Parse::get_post_id( $post );
[11] Fix | Delete
$author_screen_name = CTF_Parse::get_author_screen_name( $post );
[12] Fix | Delete
$retweet_count = CTF_Parse::get_retweet_count( $post ) > 0 ? CTF_Parse::get_retweet_count( $post ) : '';
[13] Fix | Delete
$favorite_count = CTF_Parse::get_favorite_count( $post ) > 0 ? CTF_Parse::get_favorite_count( $post ) : '';
[14] Fix | Delete
$actions_attr = CTF_Display_Elements::get_element_attribute( 'actions', $feed_options );
[15] Fix | Delete
$viewtwitterlink_attr = CTF_Display_Elements::get_element_attribute( 'viewtwitterlink', $feed_options );
[16] Fix | Delete
$viewtwitterlink_text_attr = CTF_Display_Elements::get_element_attribute( 'viewtwitterlink_text', $feed_options );
[17] Fix | Delete
$display_action_links = CTF_Display_Elements::display_action_links( $feed_options );
[18] Fix | Delete
$tweet_action_end_url = $post_id . '&related=' . $author_screen_name;
[19] Fix | Delete
?>
[20] Fix | Delete
[21] Fix | Delete
<?php if ( $display_action_links ) : ?>
[22] Fix | Delete
<div class="ctf-tweet-actions" <?php echo $actions_attr; ?>>
[23] Fix | Delete
<?php if ( ctf_show( 'actions', $feed_options ) ) : ?>
[24] Fix | Delete
[25] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/intent/tweet?in_reply_to=' . $tweet_action_end_url ) ?>" class="ctf-reply" target="_blank" rel="noopener noreferrer">
[26] Fix | Delete
<?php echo ctf_get_fa_el( 'fa-reply' ) ?>
[27] Fix | Delete
<span class="ctf-screenreader"><?php _e( 'Reply on Twitter', 'custom-twitter-feeds' ); ?> <?php echo esc_html( $post_id ); ?></span>
[28] Fix | Delete
</a>
[29] Fix | Delete
[30] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/intent/retweet?tweet_id=' . $tweet_action_end_url ) ?>" class="ctf-retweet" target="_blank" rel="noopener noreferrer"><?php echo ctf_get_fa_el( 'fa-retweet' ) ?>
[31] Fix | Delete
<span class="ctf-screenreader"><?php _e( 'Retweet on Twitter', 'custom-twitter-feeds' ); ?> <?php echo esc_html( $post_id ); ?></span>
[32] Fix | Delete
<span class="ctf-action-count ctf-retweet-count"><?php echo $retweet_count; ?></span>
[33] Fix | Delete
</a>
[34] Fix | Delete
[35] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/intent/like?tweet_id=' . $tweet_action_end_url ) ?>" class="ctf-like" target="_blank" rel="nofollow noopener noreferrer">
[36] Fix | Delete
<?php echo ctf_get_fa_el( 'fa-heart' ) ?>
[37] Fix | Delete
<span class="ctf-screenreader"><?php _e( 'Like on Twitter', 'custom-twitter-feeds' ); ?> <?php echo esc_html( $post_id ); ?></span>
[38] Fix | Delete
<span class="ctf-action-count ctf-favorite-count"><?php echo $favorite_count; ?></span>
[39] Fix | Delete
</a>
[40] Fix | Delete
<?php endif; ?>
[41] Fix | Delete
[42] Fix | Delete
<?php if (( isset($feed_options['viewtwitterlink']) && $feed_options['viewtwitterlink'] == true) || ctf_doing_customizer( $feed_options) ) : ?>
[43] Fix | Delete
<a href="<?php echo esc_url( 'https://twitter.com/' . $author_screen_name . '/status/' .$post_id ) ?>" class="ctf-twitterlink" target="_blank" rel="nofollow noopener noreferrer" <?php echo $viewtwitterlink_attr ?>>
[44] Fix | Delete
<span <?php echo $viewtwitterlink_text_attr ?>><?php echo esc_html( $feed_options['twitterlinktext'] ); ?></span>
[45] Fix | Delete
<span class="ctf-screenreader"><?php echo esc_attr( $post_id ); ?></span>
[46] Fix | Delete
</a>
[47] Fix | Delete
<?php endif; ?>
[48] Fix | Delete
</div>
[49] Fix | Delete
<?php endif; ?>
[50] Fix | Delete
[51] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function