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/themify-.../themify/megamenu/template...
File: loop-megamenu.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template for displaying posts inside mega menus
[2] Fix | Delete
*
[3] Fix | Delete
* To override this template copy it to <theme_root>/includes/ directory.
[4] Fix | Delete
*
[5] Fix | Delete
* @package themify
[6] Fix | Delete
* @since 1.0.0
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
defined( 'ABSPATH' ) || exit;
[10] Fix | Delete
[11] Fix | Delete
global $post,$product;
[12] Fix | Delete
$dimensions = apply_filters( 'themify_mega_menu_image_dimensions', array(
[13] Fix | Delete
'w' => themify_get( 'setting-mega_menu_image_width', 180,true ),
[14] Fix | Delete
'h' => themify_get( 'setting-mega_menu_image_height', 120,true ),
[15] Fix | Delete
'disable_lazy'=>true,
[16] Fix | Delete
'src'=>themify_has_post_video()?themify_fetch_video_image(themify_get( 'video_url' ),true ):''
[17] Fix | Delete
) );
[18] Fix | Delete
$link=themify_permalink_attr(array(),false);
[19] Fix | Delete
$cl=$link['cl']!==''?' class="'.$link['cl'].'"':'';
[20] Fix | Delete
$img=themify_get_image($dimensions);
[21] Fix | Delete
?>
[22] Fix | Delete
<article class="post type-<?php echo get_post_type(); ?>">
[23] Fix | Delete
<a href="<?php echo $link['href']; ?>"<?php echo $cl?>>
[24] Fix | Delete
<?php if(!empty($img)): ?>
[25] Fix | Delete
<figure class="post-image">
[26] Fix | Delete
<?php echo $img; ?>
[27] Fix | Delete
</figure>
[28] Fix | Delete
<?php endif; ?>
[29] Fix | Delete
<p class="post-title">
[30] Fix | Delete
<?php the_title_attribute( 'post='.$post->ID ); ?>
[31] Fix | Delete
</p>
[32] Fix | Delete
<?php if(isset($product)){
[33] Fix | Delete
echo $product->get_price_html();
[34] Fix | Delete
}?>
[35] Fix | Delete
</a>
[36] Fix | Delete
</article>
[37] Fix | Delete
<!-- /.post -->
[38] Fix | Delete
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function