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: header.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Smash Balloon Custom Twitter Feeds Header 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
use TwitterFeed\CTF_GDPR_Integrations;
[10] Fix | Delete
[11] Fix | Delete
$header_no_bio = ( !$feed_options['showbio'] || empty( $header_info['description'] ) ) ? $header_no_bio = ' ctf-no-bio' : $header_no_bio = "";
[12] Fix | Delete
[13] Fix | Delete
$header_info = CTF_Parse::get_user_header_json( $feed_options, $tweet_set );
[14] Fix | Delete
$header_attr = CTF_Display_Elements::get_element_attribute( 'header', $feed_options );
[15] Fix | Delete
[16] Fix | Delete
$username = CTF_Parse::get_user_name( $header_info );
[17] Fix | Delete
$header_text = CTF_Parse::get_header_text( $header_info, $feed_options );
[18] Fix | Delete
$header_description = CTF_Parse::get_header_description( $header_info );
[19] Fix | Delete
$verified_account = ( $header_info['verified'] == 1 ) ? ctf_get_fa_el( 'fa-check-circle' ) : "";
[20] Fix | Delete
$bio_attr = CTF_Display_Elements::get_element_attribute( 'headerbio', $feed_options );
[21] Fix | Delete
$avatar = CTF_Parse::get_header_avatar( $header_info, $feed_options );
[22] Fix | Delete
?>
[23] Fix | Delete
[24] Fix | Delete
<div class="ctf-header <?php echo $header_no_bio ?>" <?php echo $header_attr ?>>
[25] Fix | Delete
<a href="<?php echo esc_url('https://twitter.com/' . $username . '/' ); ?>" target="_blank" rel="noopener noreferrer" title="@<?php echo esc_attr( $username ); ?>" class="ctf-header-link">
[26] Fix | Delete
<div class="ctf-header-text">
[27] Fix | Delete
<p class="ctf-header-user">
[28] Fix | Delete
<span class="ctf-header-name"><?php echo wp_kses_post( $header_text ); ?></span>
[29] Fix | Delete
<span class="ctf-verified"><?php echo $verified_account; ?></span>
[30] Fix | Delete
<span class="ctf-header-follow">
[31] Fix | Delete
<?php
[32] Fix | Delete
if ( ctf_should_rebrand_to_x() ) {
[33] Fix | Delete
$brand_icon = ctf_get_fa_el( 'fa-x' );
[34] Fix | Delete
} else {
[35] Fix | Delete
$brand_icon = ctf_get_fa_el( 'fa-twitter' );
[36] Fix | Delete
}
[37] Fix | Delete
echo $brand_icon . ' ' . esc_html__( 'Follow', 'custom-twitter-feeds' ); ?>
[38] Fix | Delete
</span>
[39] Fix | Delete
</p>
[40] Fix | Delete
[41] Fix | Delete
<?php if ($feed_options['showbio'] && ! empty( $header_description ) || ctf_doing_customizer( $feed_options )) : ?>
[42] Fix | Delete
<p class="ctf-header-bio" <?php echo $bio_attr ?> >
[43] Fix | Delete
<?php echo wp_kses_post( $header_description ); ?>
[44] Fix | Delete
</p>
[45] Fix | Delete
<?php endif; ?>
[46] Fix | Delete
</div>
[47] Fix | Delete
[48] Fix | Delete
<div class="ctf-header-img">
[49] Fix | Delete
<div class="ctf-header-img-hover">
[50] Fix | Delete
<?php
[51] Fix | Delete
if ( ctf_should_rebrand_to_x() ) {
[52] Fix | Delete
echo ctf_get_fa_el( 'fa-x' );
[53] Fix | Delete
} else {
[54] Fix | Delete
echo ctf_get_fa_el( 'fa-twitter' );
[55] Fix | Delete
}
[56] Fix | Delete
?>
[57] Fix | Delete
</div>
[58] Fix | Delete
<?php if ( CTF_GDPR_Integrations::doing_gdpr( $feed_options ) ) : ?>
[59] Fix | Delete
<span data-avatar="<?php echo esc_url( CTF_Parse::get_avatar( $header_info ) ) ?>" data-alt="<?php echo esc_attr( $username ); ?>" style="display: none;"><?php esc_html_e( 'Avatar', 'custom-twitter-feeds' ); ?></span>
[60] Fix | Delete
<?php else : ?>
[61] Fix | Delete
<img src="<?php echo esc_url( $avatar ); ?>" alt="<?php echo esc_attr( $username ); ?>" width="48" height="48">
[62] Fix | Delete
<?php endif; ?>
[63] Fix | Delete
</div>
[64] Fix | Delete
</a>
[65] Fix | Delete
</div>
[66] Fix | Delete
[67] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function