: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
<div class="lcw-commentry-box">
<div class="lcw-commentry-filter">
<div class="lcw-commentry-title">Commentry</div>
<?php do_action('lcw-ad-code'); ?>
if( !empty( $match_detail_list->liveMatch->commentary ) ):
foreach ( $match_detail_list->liveMatch->commentary->overs as $over ) {
if( isset( $over->overSummary ) ){
<div class="lcw-over-box">
<div class="lcw-endof-over">In over# <?php echo $over->number ?></div>
<div class="lcw-endof-over-msg">Runs : <?php echo $over->overSummary->runsConcededinOver ?> Bowler: <?php echo $over->overSummary->bowlersName ?> Wickets : <?php echo $over->overSummary->wicketsTakeninOver ?></div>
foreach ( $over->balls as $ball ) {
foreach ( $ball->comments as $comment ) {
<div class="lcw-over-info">
<div class="lcw-each-over">
<?php echo $over->id ?>.<?php echo $ball->ballNumber ?>
<div class="lcw-over-info">
<div class="lcw-each-over">
<i class="fa fa-commenting-o fa-2x" aria-hidden="true"></i>
if( $comment->isFallOfWicket ){
}elseif( $comment->runs == 4 || $comment->runs == 6 ){
$comment_type = $comment->runs;
elseif( $comment->runs == 0 ){
$comment_type = $comment->runs;
if( $comment->ballType != 'NonBallComment'){
<div class="lcw-over-ball type-<?php echo $comment_type ?>" style="background: <?php echo $color ?>">
<?php echo $comment_type ?>
<div class="lcw-over-info-right">
<?php echo $comment->text ?>