聯(lián)系官方銷售客服
1835022288
028-61286886
導(dǎo)出表時(shí)報(bào)錯(cuò)
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
ERROR - 2017-09-21 00:22:16 --> Severity: Compile Error --> 'break' not in the 'loop' or 'switch' context /data/wwwroot/test/diy/app/excel/Classes/PHPExcel/Calculation/Functions.php 581
ERROR - 2017-09-21 00:24:17 --> Severity: Compile Error --> 'break' not in the 'loop' or 'switch' context /data/wwwroot/test/diy/app/excel/Classes/PHPExcel/Calculation/Functions.php 581
ERROR - 2017-09-21 10:43:11 --> Severity: Compile Error --> 'break' not in the 'loop' or 'switch' context /data/wwwroot/test/diy/app/excel/Classes/PHPExcel/Calculation/Functions.php 581
應(yīng)該是你的php版本太高了,PHPExcel不支持php7
【趙綾】1樓
我自己找了點(diǎn)資料修復(fù)這個(gè)問題,在php7也是可以用的!
/diy/app/excel/Classes/PHPExcel/Calculation/Functions.php 581刪除掉581行的break即可