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/webp
File: required-configuration-meta-box.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* WebP status meta box when the server configurations is not configured.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WP_Smush
[4] Fix | Delete
*
[5] Fix | Delete
* @var string $error_message Notice when S3 integration enabled.
[6] Fix | Delete
*/
[7] Fix | Delete
use Smush\Core\Webp\Webp_Configuration;
[8] Fix | Delete
[9] Fix | Delete
if ( ! defined( 'WPINC' ) ) {
[10] Fix | Delete
die;
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
$is_local_webp_page = 'smush-webp' === $this->get_slug();
[14] Fix | Delete
?>
[15] Fix | Delete
<div class="sui-notice sui-notice-warning">
[16] Fix | Delete
<div class="sui-notice-content">
[17] Fix | Delete
<div class="sui-notice-message">
[18] Fix | Delete
<i class="sui-notice-icon sui-icon-warning-alert sui-md" aria-hidden="true"></i>
[19] Fix | Delete
<p><?php echo esc_html( $error_message ); ?></p>
[20] Fix | Delete
[21] Fix | Delete
<p>
[22] Fix | Delete
<?php
[23] Fix | Delete
printf(
[24] Fix | Delete
/* translators: 1. opening 'a' tag switch to Direct Conversion, 2. Closing 'a' tag, 3. opening 'a' tag to premium support. */
[25] Fix | Delete
esc_html__( 'Please try the %1$sDirect Conversion%2$s method if you don\'t have server access or %3$scontact support%2$s for further assistance.', 'wp-smushit' ),
[26] Fix | Delete
'<a href="javascript:void(0);" onclick="window?.WP_Smush?.WebP && window.WP_Smush.WebP.switchMethod(\'' . esc_attr( Webp_Configuration::DIRECT_CONVERSION_METHOD ) . '\') ;">',
[27] Fix | Delete
'</a>',
[28] Fix | Delete
'<a href="https://wpmudev.com/hub2/support/#get-support" target="_blank">',
[29] Fix | Delete
)
[30] Fix | Delete
?>
[31] Fix | Delete
</p>
[32] Fix | Delete
[33] Fix | Delete
<?php if ( $is_local_webp_page ) : ?>
[34] Fix | Delete
<div style="margin-top:15px">
[35] Fix | Delete
<button type="button" id="smush-webp-recheck" class="sui-button" data-is-configured="0">
[36] Fix | Delete
<span class="sui-loading-text"><i class="sui-icon-update"></i><?php esc_html_e( 'Re-check status', 'wp-smushit' ); ?></span>
[37] Fix | Delete
<i class="sui-icon-loader sui-loading" aria-hidden="true"></i>
[38] Fix | Delete
</button>
[39] Fix | Delete
<button id="smush-webp-toggle-wizard" type="button" class="sui-button sui-button-ghost" style="margin-left: 0;">
[40] Fix | Delete
<span class="sui-loading-text">
[41] Fix | Delete
<?php esc_html_e( 'Reconfigure', 'wp-smushit' ); ?>
[42] Fix | Delete
</span>
[43] Fix | Delete
[44] Fix | Delete
<span class="sui-icon-loader sui-loading" aria-hidden="true"></span>
[45] Fix | Delete
</button>
[46] Fix | Delete
</div>
[47] Fix | Delete
<?php endif; ?>
[48] Fix | Delete
</div>
[49] Fix | Delete
</div>
[50] Fix | Delete
</div>
[51] Fix | Delete
[52] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function