export phpexcel error

Questionsexport phpexcel error
Wing asked 1 month 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 4 weeks 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
PHP Grid Framework
 
Your Answer

19 + 6 =

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:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!