Hi,
this error is preventing my export from working:
‘break’ not in the ‘loop’ or ‘switch’ context in D:\….\phpgrid\lib\inc\excel\PHPExcel\Calculation\Functions.php on line 570
I removed the “break” from line 570 and it works.
Is there a newer build that I should be using?
Thanks.
1 Answers
This fix was required for PHP7.0+. Version we ship with PHP Grid Framework v2.6.1 is PHPExcel 1.8.1 which support PHP7.
To update manually, You can get latest version from github and replace files.
https://github.com/PHPOffice/PHPExcel/archive/1.8.2.zip
Extract the zip file and put files of “Classes” folder in “lib/excel” folder to update.
Your Answer