export phpexcel error

Questionsexport phpexcel error
Wing asked 6 years ago

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
Abu Ghufran Staff answered 6 years 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.

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.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

5 + 0 =

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?