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/wp-smush.../app/views/dashboar.../webp
File: meta-box.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Local WebP meta box.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 3.8.6
[4] Fix | Delete
* @package WP_Smush
[5] Fix | Delete
*
[6] Fix | Delete
* @var bool $is_configured Is local WebP module configured. Error message if it's not.
[7] Fix | Delete
* @var string $error_message Server configuration error message.
[8] Fix | Delete
* @var bool $is_webp_active Is local WebP module enabled.
[9] Fix | Delete
* @var string $upsell_url Upsell URL.
[10] Fix | Delete
*/
[11] Fix | Delete
[12] Fix | Delete
if ( ! defined( 'WPINC' ) ) {
[13] Fix | Delete
die;
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
?>
[17] Fix | Delete
[18] Fix | Delete
<p>
[19] Fix | Delete
<?php esc_html_e( "Serve WebP versions of your images to supported browsers, and gracefully fall back on JPEGs and PNGs for browsers that don't support WebP.", 'wp-smushit' ); ?>
[20] Fix | Delete
</p>
[21] Fix | Delete
[22] Fix | Delete
<?php if ( ! WP_Smush::is_pro() ) : ?>
[23] Fix | Delete
<a href="<?php echo esc_url( $upsell_url ); ?>" target="_blank" class="sui-button sui-button-purple">
[24] Fix | Delete
<?php esc_html_e( 'Upgrade to Pro', 'wp-smushit' ); ?>
[25] Fix | Delete
</a>
[26] Fix | Delete
<?php elseif ( ! $is_webp_active ) : ?>
[27] Fix | Delete
<button class="sui-button sui-button-blue" id="smush-toggle-webp-button" data-action="enable">
[28] Fix | Delete
<span class="sui-loading-text"><?php esc_html_e( 'Activate', 'wp-smushit' ); ?></span>
[29] Fix | Delete
<i class="sui-icon-loader sui-loading" aria-hidden="true"></i>
[30] Fix | Delete
</button>
[31] Fix | Delete
<?php else : ?>
[32] Fix | Delete
<?php
[33] Fix | Delete
if ( $is_configured ) {
[34] Fix | Delete
$this->view( 'webp/configured-meta-box' );
[35] Fix | Delete
} else {
[36] Fix | Delete
$this->view(
[37] Fix | Delete
'webp/required-configuration-meta-box',
[38] Fix | Delete
array(
[39] Fix | Delete
'error_message' => $error_message,
[40] Fix | Delete
)
[41] Fix | Delete
);
[42] Fix | Delete
}
[43] Fix | Delete
?>
[44] Fix | Delete
<a href="<?php echo esc_url( $this->get_url( 'smush-webp' ) ); ?>" class="sui-button sui-button-ghost">
[45] Fix | Delete
<span class="sui-icon-wrench-tool" aria-hidden="true"></span>
[46] Fix | Delete
<?php esc_html_e( 'Configure', 'wp-smushit' ); ?>
[47] Fix | Delete
</a>
[48] Fix | Delete
<?php endif; ?>
[49] Fix | Delete
[50] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function