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.2.2.php
<?php
[0] Fix | Delete
$iclsettings = get_option('icl_sitepress_settings');
[1] Fix | Delete
if(is_array($iclsettings['translation-management']['custom_fields_readonly_config'])){
[2] Fix | Delete
$iclsettings['translation-management']['custom_fields_readonly_config'] = array_unique($iclsettings['translation-management']['custom_fields_readonly_config']);
[3] Fix | Delete
update_option('icl_sitepress_settings', $iclsettings);
[4] Fix | Delete
}
[5] Fix | Delete
delete_option($wpdb->prefix . 'icl_translators_cached');
[6] Fix | Delete
delete_option($wpdb->prefix . 'icl_non_translators_cached');
[7] Fix | Delete
[8] Fix | Delete
[9] Fix | Delete
[10] Fix | Delete
[11] Fix | Delete
[12] Fix | Delete
[13] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function