Fatal error: Uncaught exception 'PHPExcel_Exception' with message 'You tried to set a sheet active by the out of bounds index: 0. The actual number of sheets is 0.' in /sunex_www/a3m-2016/libs/excel/Classes/PHPExcel.php:695 Stack trace: #0 /sunex_www/a3m-2016/appl/standard/dane_finansowe.php(90): PHPExcel->setActiveSheetIndex(0) #1 /sunex_www/a3m-2016/appl/standard/dane_finansowe.php(538): save_to_xls(Array, Array, 'q3', '/sunex_www/a3m-...', Array) #2 /sunex_www/a3m-2016/appl/standard/dane_finansowe/tocontent.php(19): tab_nodes(NULL, 'q3', 'Q3', true, Array) #3 /sunex_www/a3m-2016/main/standard_pageclass.php(120): include('/sunex_www/a3m-...') #4 /sunex_www/a3m-2016/appl/standard/dane_finansowe.php(56): standard_pageclass->endAction() #5 /sunex_www/a3m-2016/main/router.php(508): dane_finansowe->index() #6 /sunex_www/a3m-2016/index.php(36): router->standard_run('standard') #7 {main} thrown in /sunex_www/a3m-2016/libs/excel/Classes/PHPExcel.php on line 695