PHPExcel_Calculation_Exception:10!I9 – >公式错误:意外,

我想上传一个多页excel文件。

我的代码是这样的

Excel::load($file_path, function($sheet) { $detail = $sheet->get(); var_dump($detail); }); 

但我得到以下错误

PHPExcel_Calculation_Exception:10!I9 – >公式错误:意外,

从字面上看,我没有在该文件中的任何其他代码。

更新

我的第一分析是文件中有错误。 然后我改变了我的代码

 Excel::filter('chunk')->load($file_path, function($reader) use($file,&$detail) { foreach ($reader->get() as $sheet) { // $sheetTitle = $sheet->getTitle(); foreach($sheet->toArray as $row) { } } }); 

一些如何工作,但在列显示为null

 55 => Maatwebsite\Excel\Collections\CellCollection {#7429 #title: null #items: array:1 [ 0 => null ] } 56 => Maatwebsite\Excel\Collections\CellCollection {#7446 #title: null #items: array:1 [ 0 => null ] } ] 

谢谢

 $rows = Excel::load('storage\\exports\\'. $fName)->get(); 

使用这只是改变你的path和文件名