It seams that there is problem with getting headers if I start reading file lets say on line 155.
This code change is probably nor correct in every scenario but some changes are needed since importing large files in multiple job runs are not possible currently.
My changes are "$k === 1" in importable.php - function importSheet
if ($k >= $this->start_row || $k === 1) {
if ($this->with_header) {
if ($k === 1) {
$headers = $this->toStrings($row);
$count_header = count($headers);
continue;
}
It seams that there is problem with getting headers if I start reading file lets say on line 155. This code change is probably nor correct in every scenario but some changes are needed since importing large files in multiple job runs are not possible currently.
My changes are "$k === 1" in importable.php - function importSheet
if ($k >= $this->start_row || $k === 1) { if ($this->with_header) { if ($k === 1) { $headers = $this->toStrings($row); $count_header = count($headers); continue; }