: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
$tag = $args['html_tag'];
$hasLink=$args['link']!=='none';
$link_attr=Tbp_Utils::getLinkParams($args);
if($hasLink===true && !isset($link_attr['href'])){
if(isset($link_attr['class'])){
$link_attr['class'].=' tbp_link tbp_title';
$link_attr['class']='tbp_link tbp_title';
<<?php echo $tag?> itemprop="headline" class="tbp_title">
<?php if($hasLink===true):?>
<a <?php echo self::get_element_attributes($link_attr); ?>>
<?php if($hasLink===true):?>