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/clone/wp-conte.../plugins/themify-.../views
File: styles.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Template to render popups on frontend
[2] Fix | Delete
*
[3] Fix | Delete
* @var $id
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
$styles = array();
[7] Fix | Delete
if( themify_popup_check( 'popup_width' ) ) {
[8] Fix | Delete
if( $style === 'classic' ) {
[9] Fix | Delete
$styles[] = "body.themify-popup-showing-{$id} .mfp-wrap .mfp-inline-holder .mfp-content{width:" . themify_popup_get( 'popup_width' ) . themify_popup_get( 'popup_width_unit', 'px' ) . '!important}';
[10] Fix | Delete
} elseif( $style === 'slide-out' ) {
[11] Fix | Delete
$styles[] = "#themify-popup-{$id}{width:" . themify_popup_get( 'popup_width' ) . themify_popup_get( 'popup_width_unit', 'px' ) . '!important}';
[12] Fix | Delete
}
[13] Fix | Delete
}
[14] Fix | Delete
if( themify_popup_check( 'popup_height' ) && ! themify_popup_check( 'popup_auto_height' ) ) {
[15] Fix | Delete
if( $style === 'classic' ) {
[16] Fix | Delete
$styles[] = "body.themify-popup-showing-{$id} .mfp-wrap .mfp-inline-holder .mfp-content{height:" . themify_popup_get( 'popup_height' ) . themify_popup_get( 'popup_height_unit', 'px' ) . '!important}';
[17] Fix | Delete
} elseif( $style === 'slide-out' ) {
[18] Fix | Delete
$styles[] = "#themify-popup-{$id}{height:" . themify_popup_get( 'popup_height' ) . themify_popup_get( 'popup_height_unit', 'px' ) . '!important}';
[19] Fix | Delete
}
[20] Fix | Delete
}
[21] Fix | Delete
if( themify_popup_check( 'popup_overlay_color' ) ) {
[22] Fix | Delete
$styles[] = "body.themify-popup-showing-{$id} .mfp-bg{background-color: " . themify_popup_get( 'popup_overlay_color' ) . '}';
[23] Fix | Delete
}
[24] Fix | Delete
$styles[] = themify_popup_get_custom_css();
[25] Fix | Delete
[26] Fix | Delete
if( ! empty( $styles ) ) {
[27] Fix | Delete
printf( '<style>%s</style>', implode( "\n", $styles ) );
[28] Fix | Delete
}
[29] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function