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.../public_h.../wp-conte.../plugins/themify-.../template...
File: template-comments.php
<?php
[0] Fix | Delete
if (!defined('ABSPATH'))
[1] Fix | Delete
exit; // Exit if accessed directly
[2] Fix | Delete
/**
[3] Fix | Delete
* Template Comments
[4] Fix | Delete
*
[5] Fix | Delete
* Access original fields: $args['mod_settings']
[6] Fix | Delete
* @author Themify
[7] Fix | Delete
*/
[8] Fix | Delete
$fields_default = array(
[9] Fix | Delete
'css' => '',
[10] Fix | Delete
'animation_effect' => ''
[11] Fix | Delete
);
[12] Fix | Delete
$fields_args = wp_parse_args($args['mod_settings'], $fields_default);
[13] Fix | Delete
unset($args['mod_settings']);
[14] Fix | Delete
$fields_default=null;
[15] Fix | Delete
$mod_name=$args['mod_name'];
[16] Fix | Delete
$element_id =$args['module_ID'];
[17] Fix | Delete
$builder_id=$args['builder_id'];
[18] Fix | Delete
$container_class = apply_filters('themify_builder_module_classes', array(
[19] Fix | Delete
'module',
[20] Fix | Delete
'module-' . $mod_name,
[21] Fix | Delete
$element_id,
[22] Fix | Delete
$fields_args['css']
[23] Fix | Delete
), $mod_name,$element_id, $fields_args);
[24] Fix | Delete
if(!empty($fields_args['global_styles']) && Themify_Builder::$frontedit_active===false){
[25] Fix | Delete
$container_class[] = $fields_args['global_styles'];
[26] Fix | Delete
}
[27] Fix | Delete
$container_props = apply_filters('themify_builder_module_container_props', self::parse_animation_effect($fields_args,array(
[28] Fix | Delete
'class' => implode(' ', $container_class),
[29] Fix | Delete
)), $fields_args, $mod_name,$element_id);
[30] Fix | Delete
$args=null;
[31] Fix | Delete
if(Themify_Builder::$frontedit_active===false){
[32] Fix | Delete
$container_props['data-lazy']=1;
[33] Fix | Delete
}
[34] Fix | Delete
?>
[35] Fix | Delete
<!-- Comments module -->
[36] Fix | Delete
<div <?php echo self::get_element_attributes(self::sticky_element_props($container_props, $fields_args)); ?>>
[37] Fix | Delete
<?php
[38] Fix | Delete
$container_props=$container_class=null;
[39] Fix | Delete
do_action('themify_builder_background_styling',$builder_id,array('styling'=>$fields_args,'mod_name'=>$mod_name),$element_id,'module');
[40] Fix | Delete
$the_query = Tbp_Utils::get_actual_query();
[41] Fix | Delete
if ($the_query===null || $the_query->have_posts()) :
[42] Fix | Delete
if($the_query!==null){
[43] Fix | Delete
$the_query->the_post();
[44] Fix | Delete
}
[45] Fix | Delete
$post_id = get_the_ID();
[46] Fix | Delete
comments_template();
[47] Fix | Delete
if($the_query!==null){
[48] Fix | Delete
wp_reset_postdata();
[49] Fix | Delete
}
[50] Fix | Delete
endif;
[51] Fix | Delete
?>
[52] Fix | Delete
</div>
[53] Fix | Delete
<!-- /Comments module -->
[54] Fix | Delete
[55] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function