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-.../includes/plugin-c...
File: thrive.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Builder Plugin Compatibility Code
[2] Fix | Delete
*
[3] Fix | Delete
* @package Themify_Builder
[4] Fix | Delete
* @subpackage Themify_Builder/classes
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
/**
[8] Fix | Delete
* Thrive Architect
[9] Fix | Delete
* @link https://thrivethemes.com/architect/
[10] Fix | Delete
*/
[11] Fix | Delete
class Themify_Builder_Plugin_Compat_Thrive {
[12] Fix | Delete
[13] Fix | Delete
static function init() {
[14] Fix | Delete
add_filter( 'themify_builder_is_frontend_editor', array( __CLASS__, 'thrive_compat' ) );
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
/**
[18] Fix | Delete
* Compatibility with Thrive Builder and Thrive Leads plugins
[19] Fix | Delete
* Disables Builder's frontend editor when Thrive editor is active
[20] Fix | Delete
*/
[21] Fix | Delete
public static function thrive_compat(bool $enabled ):bool {
[22] Fix | Delete
return isset( $_GET['tve'] ) && $_GET['tve'] === 'true' && function_exists( 'tve_editor_content' ) ? false : $enabled;
[23] Fix | Delete
}
[24] Fix | Delete
}
[25] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function