Or check out the sections below to find the answer:
Back to list

PHP Fatal error: 'break' not in the 'loop' or 'switch' context

When you try export file and get error like this: Fatal error: 'break' not in the 'loop' or 'switch' context in .../vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php on line 581

To fix this error you need open file: (your store folder)/vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php on line 581 and comment or remove this row:

Usefulness of the answer:
Page preloader icon