03 Simple file reader using the IOFactory to return a reader

01:04:41 Loading file example1.xls using IOFactory with a defined reader type of Xls

Fatal error: Uncaught PhpOffice\PhpSpreadsheet\Reader\Exception: Parameter pos=-4 is invalid. in /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLERead.php:334 Stack trace: #0 /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLERead.php(254): PhpOffice\PhpSpreadsheet\Shared\OLERead::getInt4d('\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF...', -4) #1 /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLERead.php(185): PhpOffice\PhpSpreadsheet\Shared\OLERead->_readData(42) #2 /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php(1363): PhpOffice\PhpSpreadsheet\Shared\OLERead->read('/home/bitrix/ex...') #3 /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php(628): PhpOffice\PhpSpreadsheet\Reader\Xls->loadOLE('/home/bitrix/ex...') #4 /home/bitrix/ext_www/retender. in /home/bitrix/ext_www/retender.ru/bitrix/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLERead.php on line 334