crashes and corrupt the xlsx file with Invalid cell coordinate error
description
Guys,
I get this strange error when I execute my script and it crashes and corrupt the xlsx file:
PHP Fatal error: Uncaught exception 'Exception' with message 'Invalid cell coordinate 1' in D:\SCRIPT\Classes\PHPExcel\Cell.php:513
Stack trace:
0 D:\SCRIPT\Classes\PHPExcel\Writer\Excel2007\Worksheet.php(851): PHPExcel_Cell::coordinateFromString(1)
1 D:\SCRIPT\Classes\PHPExcel\Writer\Excel2007\Worksheet.php(119): PHPExcel_Writer_Excel2007_Worksheet->_writeBreaks(Object(PHPExcel_Shared_XMLWriter), Object(PHPExcel_Worksheet))
2 D:\SCRIPT\Classes\PHPExcel\Writer\Excel2007.php(282): PHPExcel_Writer_Excel2007_Worksheet->writeWorksheet(Object(PHPExcel_Worksheet), Array, false)
3 D:\SCRIPT\mon_script.php(1793): PHPExcel_Writer_Excel2007->save('D:\SCRIPT...')
4 {main}
thrown in D:\SCRIPT\suivi_pilote\Classes\PHPExcel\Cell.php on line 513
for code please see file attachment.
(i cut a part of the code)
the line 1793 is :
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcelwriter, 'Excel2007');
$objWriter->save($filecible);