export phpexcel error

Questionsexport phpexcel error
Wing asked 10 months ago


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?


1 Answers
Abu Ghufran Staff answered 10 months ago

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.


Extract the zip file and put files of “Classes” folder in “lib/excel” folder to update.

Abu Ghufran - Dev Team
PHP Grid Framework
Your Answer

9 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!