1、上传文件:ERR: call_user_func(): Argument #1 ($callback) must be a valid callback, no array or string given
Upload.class.php: $data = call_user_func($this->callback, $file);
改成:
$data = array();
if($this->callback){
$data = call_user_func($this->callback, $file);
}
3、
Array and string offset access syntax with curly braces is no longer supported 将这些{}改成[]
PHPExcel/PHPExcel/Shared/String.php LINE: 526
$c0 = ord($str[0]); $c1 = ord($str[1]);
PHPExcel/PHPExcel/Calculation.php 好几处
PHPExcel/PHPExcel/Worksheet/AutoFilter.php LINE: 720
PHPExcel/PHPExcel/ReferenceHelper.php LINE: 884
PHPExcel/PHPExcel/Cell.php LINE: 817
PHPExcel/PHPExcel/Cell/DefaultValueBinder.php LINE: 82
改完就可以导入文件了