For few archive types, CRC is not parsed from 7z l, so it is empty, so it fails with Exception
Fatal error: Uncaught TypeError: Archive7z\Entry::getCrc(): Return value must be of type string, null returned in /app/vendor/gemorroj/archive7z/src/Entry.php:240
Stack trace:
#0 /app/src/Drivers/SevenZip.php(217): Archive7z\Entry->getCrc()
#1 /app/src/UnifiedArchive.php(284): wapmorgan\UnifiedArchive\Drivers\SevenZip->getFileData('doc')
#2 /app/src/Commands/TableCommand.php(66): wapmorgan\UnifiedArchive\UnifiedArchive->getFileData('doc')
I found that crc is present for ZIP/TAR.GZ, and not present for TAR
For few archive types, CRC is not parsed from
7z l, so it is empty, so it fails with ExceptionI found that crc is present for ZIP/TAR.GZ, and not present for TAR