$header_x = (float)$this->original_lMargin + (float)($headerdata['logo_width'] * (float)1.1);
Severity: Warning
Message: A non-numeric value encountered
Filename: tcpdf/tcpdf.php
Line Number: 3422
$header_x = (float)$this->original_lMargin + (float)($headerdata['logo_width'] * (float)1.1);
Severity: Warning
Message: A non-numeric value encountered
Filename: tcpdf/tcpdf.php
Line Number: 3422
I worked on this issue many days. In my case, I solved this problem on this way:
When you create a PDF with tcpdf you need to use ob_start();
at the top, then create instance object :
$pdf = new pdf(PDF_PAGE_ ..... BODY.. FOOTER, ETC,
and before output :
$pdf->Output('/media/Linux/Folder/document.pdf', 'F')
You need to end your ob with:
ob_end_clean();
I realised about the problem from create two or more PDFs continuously. You could try this.
I found the answer while visiting this:
TCPDF ERROR: Some data has already been output, can't send PDF file