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/sitepres.../classes/requirem...
File: WordPress.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace WPML\Requirements;
[2] Fix | Delete
[3] Fix | Delete
class WordPress {
[4] Fix | Delete
[5] Fix | Delete
public static function checkMinimumRequiredVersion() {
[6] Fix | Delete
if ( version_compare( $GLOBALS['wp_version'], 4.4, '<' ) ) {
[7] Fix | Delete
add_action( 'admin_notices', [ __CLASS__, 'displayMissingVersionRequirementNotice' ] );
[8] Fix | Delete
return false;
[9] Fix | Delete
}
[10] Fix | Delete
[11] Fix | Delete
return true;
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
public static function displayMissingVersionRequirementNotice() {
[15] Fix | Delete
?>
[16] Fix | Delete
<div class="error">
[17] Fix | Delete
<p><?php esc_html_e( 'WPML is disabled because it requires WordPress version 4.4 or above.', 'sitepress' ); ?></p>
[18] Fix | Delete
</div>
[19] Fix | Delete
<?php
[20] Fix | Delete
}
[21] Fix | Delete
}
[22] Fix | Delete
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function