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/clone/wp-conte.../plugins/ultimate.../template.../rss
File: lcw-feed.php
<?php
[0] Fix | Delete
function lcw_load_feed( $matches ){
[1] Fix | Delete
ob_start();
[2] Fix | Delete
header('Content-Type: '.feed_content_type('rss-http').'; charset='.get_option('blog_charset'), true);
[3] Fix | Delete
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
[4] Fix | Delete
[5] Fix | Delete
?>
[6] Fix | Delete
<rss version="2.0"
[7] Fix | Delete
xmlns:content="http://purl.org/rss/1.0/modules/content/"
[8] Fix | Delete
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
[9] Fix | Delete
xmlns:dc="http://purl.org/dc/elements/1.1/"
[10] Fix | Delete
xmlns:atom="http://www.w3.org/2005/Atom"
[11] Fix | Delete
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
[12] Fix | Delete
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
[13] Fix | Delete
<?php do_action('rss2_ns'); ?>>
[14] Fix | Delete
<channel>
[15] Fix | Delete
<title><?php bloginfo_rss('name'); ?> - Feed</title>
[16] Fix | Delete
<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
[17] Fix | Delete
<link><?php bloginfo_rss('url') ?></link>
[18] Fix | Delete
<description><?php bloginfo_rss('description') ?></description>
[19] Fix | Delete
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate>
[20] Fix | Delete
<language><?php echo get_option('rss_language'); ?></language>
[21] Fix | Delete
<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
[22] Fix | Delete
<sy:updateFrequency>
[23] Fix | Delete
<?php echo apply_filters( 'rss_update_frequency', '1' ); ?>
[24] Fix | Delete
</sy:updateFrequency>
[25] Fix | Delete
<?php do_action('rss2_head'); ?>
[26] Fix | Delete
<?php
[27] Fix | Delete
if(!empty( $matches )){
[28] Fix | Delete
foreach ( $matches as $match) {
[29] Fix | Delete
[30] Fix | Delete
$status = strtolower( $match->status );
[31] Fix | Delete
?>
[32] Fix | Delete
<item>
[33] Fix | Delete
<title><?php echo $match->awayTeam->name ?> VS <?php echo $match->homeTeam->name ?> </title>
[34] Fix | Delete
<link>
[35] Fix | Delete
<?php echo home_url('match-detail/series/'.$match->series->id.'match/'.$match->id.'/status/'.$status); ?>
[36] Fix | Delete
</link>
[37] Fix | Delete
<pubDate>
[38] Fix | Delete
<?php echo !empty( $match->localStartDate ) ? $match->localStartDate : '' ?>
[39] Fix | Delete
</pubDate>
[40] Fix | Delete
<dc:creator><?php the_author(); ?></dc:creator>
[41] Fix | Delete
<guid isPermaLink="false">
[42] Fix | Delete
<?php echo home_url('match-detail/series/'.$match->series->id.'match/'.$match->id.'/status/'.$status); ?>
[43] Fix | Delete
</guid>
[44] Fix | Delete
<description><![CDATA[Away Team: <?php echo $match->awayTeam->shortName ?> Home Team: <?php echo $match->homeTeam->shortName ?> Summary: <?php echo $match->matchSummaryText ?>]]></description>
[45] Fix | Delete
<content:encoded><![CDATA[Away Team: <?php echo $match->awayTeam->shortName ?> Home Team: <?php echo $match->homeTeam->shortName ?> Summary: <?php echo $match->matchSummaryText ?>]]></content:encoded>
[46] Fix | Delete
<?php rss_enclosure(); ?>
[47] Fix | Delete
<?php do_action('rss2_item'); ?>
[48] Fix | Delete
</item>
[49] Fix | Delete
<?php } ?>
[50] Fix | Delete
<?php } ?>
[51] Fix | Delete
</channel>
[52] Fix | Delete
</rss>
[53] Fix | Delete
[54] Fix | Delete
<?php
[55] Fix | Delete
$content = ob_get_clean();
[56] Fix | Delete
echo $content;
[57] Fix | Delete
}
[58] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function