TCPDF ERROR: Some data has already been output to browser, c
Posted: Fri Feb 05, 2021 12:21 pm
I have two identically reports (diff only filters). Reports runs normally on my local comp (win7). On remote host (WinServer2008) the first report run OK, but the second report show ERROR and warnings:
MySQL DB is the same, project's folder is the same for local and remote. What may be wrong? Why one report always run OK?...
Warning: array_merge(): Expected parameter 1 to be an array, null given in D:\mia\xampp\htdocs\cc\core\libs\tcpdf\include\tcpdf_fonts.php on line 2010
Warning: array_merge(): Expected parameter 1 to be an array, null given in D:\mia\xampp\htdocs\cc\core\libs\tcpdf\include\tcpdf_fonts.php on line 2010
Warning: array_map(): Expected parameter 2 to be an array, bool given in D:\mia\xampp\htdocs\cc\core\libs\tcpdf\include\tcpdf_fonts.php on line 2002
Warning: array_merge(): Expected parameter 1 to be an array, null given in D:\mia\xampp\htdocs\cc\core\libs\tcpdf\include\tcpdf_fonts.php on line 2010
Warning: Invalid argument supplied for foreach() in D:\mia\xampp\htdocs\cc\core\libs\tcpdf\tcpdf.php on line 4085
Warning: array_map(): Expected parameter 2 to be an array, bool given in D:\mia\xampp\htdocs\cc\core\libs\tcpdf\include\tcpdf_fonts.php on line 2002
Warning: Cannot modify header information - headers already sent by (output started at D:\mia\xampp\htdocs\cc\core\libs\tcpdf\include\tcpdf_fonts.php:2010) in D:\mia\xampp\htdocs\cc\core\libs\tcpdf\tcpdf.php on line 7652
TCPDF ERROR: Some data has already been output to browser, can't send PDF file