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: lecoClientPortal.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
* Client Portal
[8] Fix | Delete
* @link https://client-portal.io
[9] Fix | Delete
*/
[10] Fix | Delete
class Themify_Compat_lecoClientPortal {
[11] Fix | Delete
[12] Fix | Delete
static function init() {
[13] Fix | Delete
if ( ! is_admin() ) {
[14] Fix | Delete
add_action( 'template_redirect', array( __CLASS__, 'template_redirect' ), 1 );
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
/* disable Builder for Client Portal post type */
[18] Fix | Delete
add_filter( 'tb_is_disabled_for_leco_client', '__return_true' );
[19] Fix | Delete
}
[20] Fix | Delete
[21] Fix | Delete
public static function template_redirect() {
[22] Fix | Delete
if ( is_singular( 'leco_client' ) ) {
[23] Fix | Delete
remove_action( 'template_redirect', array( 'Themify_Enqueue_Assets', 'start_buffer' ) );
[24] Fix | Delete
}
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function