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.6.2.php
<?php
[0] Fix | Delete
$sql = "ALTER TABLE `{$wpdb->prefix}icl_strings` CHANGE `language` `language` VARCHAR( 7 ) NOT NULL";
[1] Fix | Delete
$wpdb->query($sql);
[2] Fix | Delete
[3] Fix | Delete
$sql = "ALTER TABLE `{$wpdb->prefix}icl_locale_map` CHANGE `code` `code` VARCHAR( 7 ) NOT NULL";
[4] Fix | Delete
$wpdb->query($sql);
[5] Fix | Delete
[6] Fix | Delete
$iclsettings = get_option('icl_sitepress_settings');
[7] Fix | Delete
$iclsettings['posts_slug_translation']['on'] = 0;
[8] Fix | Delete
update_option('icl_sitepress_settings', $iclsettings);
[9] Fix | Delete
[10] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function