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: webstories.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
* Web Stories
[8] Fix | Delete
* @link https://wordpress.org/plugins/web-stories/
[9] Fix | Delete
*/
[10] Fix | Delete
class Themify_Compat_webstories {
[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 Web Stories post type */
[18] Fix | Delete
add_filter( 'tb_is_disabled_for_web-story', '__return_true' );
[19] Fix | Delete
}
[20] Fix | Delete
[21] Fix | Delete
/*
[22] Fix | Delete
* @ref #9540
[23] Fix | Delete
*/
[24] Fix | Delete
public static function template_redirect() {
[25] Fix | Delete
if ( is_singular( 'web-story' ) ) {
[26] Fix | Delete
remove_action( 'template_redirect', array( 'Themify_Enqueue_Assets', 'start_buffer' ) );
[27] Fix | Delete
}
[28] Fix | Delete
}
[29] Fix | Delete
}
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function