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/wp-conte.../plugins/themify-.../themify/plugin-c...
File: wpviews.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Themify Compatibility Code
[2] Fix | Delete
*
[3] Fix | Delete
* @package Themify
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Toolset Views
[8] Fix | Delete
* @link https://toolset.com
[9] Fix | Delete
*/
[10] Fix | Delete
class Themify_Compat_wpviews {
[11] Fix | Delete
[12] Fix | Delete
static function init() {
[13] Fix | Delete
if ( function_exists( 'has_blocks' ) ) {
[14] Fix | Delete
add_filter( 'themify_deq_css', [ __CLASS__, 'themify_deq_css' ] );
[15] Fix | Delete
}
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
/*
[19] Fix | Delete
* @ref #9540
[20] Fix | Delete
*/
[21] Fix | Delete
public static function themify_deq_css( $css ) {
[22] Fix | Delete
if ( ( $key = array_search( 'wp-block-library', $css ) ) !== false ) {
[23] Fix | Delete
global $wp_query, $WPV_settings;
[24] Fix | Delete
$queried_term = $wp_query->get_queried_object();
[25] Fix | Delete
if ( has_blocks( $WPV_settings[ 'view_taxonomy_loop_' . $queried_term->taxonomy ] ) ) {
[26] Fix | Delete
unset( $css[ $key ] );
[27] Fix | Delete
}
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
return $css;
[31] Fix | Delete
}
[32] Fix | Delete
}
[33] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function