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.../inc/upgrade-...
File: upgrade-2.3.1.php
<?php
[0] Fix | Delete
[1] Fix | Delete
$iclsettings = get_option('icl_sitepress_settings');
[2] Fix | Delete
[3] Fix | Delete
if($iclsettings['theme_localization_type'] == 2 && !empty($iclsettings['gettext_theme_domain_name'])){
[4] Fix | Delete
$iclsettings['theme_localization_load_textdomain'] = 1;
[5] Fix | Delete
update_option('icl_sitepress_settings', $iclsettings);
[6] Fix | Delete
}elseif(empty($iclsettings['theme_localization_type'])){
[7] Fix | Delete
$iclsettings['theme_localization_type'] = 2;
[8] Fix | Delete
$iclsettings['theme_localization_load_textdomain'] = 0;
[9] Fix | Delete
update_option('icl_sitepress_settings', $iclsettings);
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
$sql = "ALTER TABLE {$wpdb->prefix}icl_locale_map CHANGE locale VARCHAR(32) NOT NULL";
[13] Fix | Delete
$wpdb->query($sql);
[14] Fix | Delete
[15] Fix | Delete
[16] Fix | Delete
$wpdb->query("DELETE m FROM {$wpdb->postmeta} m JOIN {$wpdb->posts} p ON p.ID = m.post_id WHERE m.meta_key='_alp_processed' AND p.post_type='nav_menu_item'");
[17] Fix | Delete
[18] Fix | Delete
?>
[19] Fix | Delete
[20] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function