Ошибка при экспорте в Excel из Конструктора отчетов
Добавлено: 05 апр 2024, 17:29
При экспорте в эксель таблицы сгенерированной конструктором отчетов выдает ошибку (на 3.4 работало)
Не удается получить доступ к сайту Веб-страница по адресу http://***/index.php?module=report_page/view&id=2&action=xls_export&token=SZdm5GbpB4, возможно, временно недоступна или постоянно перемещена по новому адресу.
ERR_INVALID_RESPONSE
PHP log:
[05-Apr-2024 21:16:31 Asia/Novokuznetsk] PHP Fatal error: Uncaught PhpOffice\PhpSpreadsheet\Calculation\Exception: Список!B7 -> Formula Error: An unexpected error occurred in ***/
Stack trace:
#0 ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php(779): PhpOffice\PhpSpreadsheet\Cell\Cell->getCalculatedValue()
#1 ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php(366): PhpOffice\PhpSpreadsheet\Worksheet\Worksheet->calculateColumnWidths()
#2 ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php(68): PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet->writeCols()
#3 ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php(394): PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet->writeWorksheet()
#4 ***/includes/classes/items/items_export.php(100): PhpOffice\PhpSpreadsheet\Writer\Xlsx->save()
#5 ***/modules/report_page/actions/view.php(55): items_export->xlsx_from_array()
#6 ***/index.php(31): require('/home/cr17028/p...')
#7 {main}
thrown in ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Cell.php on line 390
Не удается получить доступ к сайту Веб-страница по адресу http://***/index.php?module=report_page/view&id=2&action=xls_export&token=SZdm5GbpB4, возможно, временно недоступна или постоянно перемещена по новому адресу.
ERR_INVALID_RESPONSE
PHP log:
[05-Apr-2024 21:16:31 Asia/Novokuznetsk] PHP Fatal error: Uncaught PhpOffice\PhpSpreadsheet\Calculation\Exception: Список!B7 -> Formula Error: An unexpected error occurred in ***/
Stack trace:
#0 ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php(779): PhpOffice\PhpSpreadsheet\Cell\Cell->getCalculatedValue()
#1 ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php(366): PhpOffice\PhpSpreadsheet\Worksheet\Worksheet->calculateColumnWidths()
#2 ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php(68): PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet->writeCols()
#3 ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php(394): PhpOffice\PhpSpreadsheet\Writer\Xlsx\Worksheet->writeWorksheet()
#4 ***/includes/classes/items/items_export.php(100): PhpOffice\PhpSpreadsheet\Writer\Xlsx->save()
#5 ***/modules/report_page/actions/view.php(55): items_export->xlsx_from_array()
#6 ***/index.php(31): require('/home/cr17028/p...')
#7 {main}
thrown in ***/includes/libs/PHPSpreadsheet/1.27.0/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Cell.php on line 390