Fatal error: Uncaught PHPExcel_Exception: Parameter $source should be an array. in D:\web\html\include\Classes\PHPExcel\Worksheet.php:2387 Stack trace: #0 D:\web\html\include\Classes\download-xls.php(13): PHPExcel_Worksheet->fromArray(NULL, NULL, 'A2') #1 D:\web\html\hk\ajax\cbbc_new_listing_result.php(206): downloadxls('cbbc_new_listin...', Array, NULL) #2 D:\web\html\include\render.inc(13): formatData() #3 D:\web\html\hk\ajax\cbbc_new_listing_result.php(8): pageRender() #4 D:\web\html\index.php(14): require_once('D:\\web\\html\\hk\\...') #5 {main} thrown in D:\web\html\include\Classes\PHPExcel\Worksheet.php on line 2387