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/smart-sl.../Nextend/Framewor.../Misc/Zip
File: Reader.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Nextend\Framework\Misc\Zip;
[2] Fix | Delete
[3] Fix | Delete
use Nextend\Framework\Misc\Zip\Reader\Custom;
[4] Fix | Delete
use Nextend\Framework\Misc\Zip\Reader\ZipExtension;
[5] Fix | Delete
[6] Fix | Delete
class Reader {
[7] Fix | Delete
[8] Fix | Delete
public static function read($path) {
[9] Fix | Delete
[10] Fix | Delete
if (class_exists('ZipArchive') && strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN') {
[11] Fix | Delete
$reader = new ZipExtension();
[12] Fix | Delete
} else {
[13] Fix | Delete
$reader = new Custom();
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
return $reader->read($path);
[17] Fix | Delete
}
[18] Fix | Delete
}
[19] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function