Hello there,
I just upgraded ProjeQtOr to version 9.0.4 and some reports don't work anymore:
2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] EXCEPTION ** 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] on file '/home/projeqt/public_html/external/html2pdf/src/Html2Pdf.php' at line (5690) 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] cause = The content of the TD tag does not fit on only one page 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] => #0 /home/projeqt/public_html/external/html2pdf/src/Html2Pdf.php (1455) -> _tag_close_TD() 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] => #1 /home/projeqt/public_html/external/html2pdf/src/Html2Pdf.php (1409) -> _executeAction() 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] => #2 /home/projeqt/public_html/external/html2pdf/src/Html2Pdf.php (611) -> _makeHTMLcode() 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] => #3 /home/projeqt/public_html/model/AutoSendReport.php (235) -> writeHTML() 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] => #4 /home/projeqt/public_html/model/Cron.php (537) -> sendReport() 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] => #5 /home/projeqt/public_html/model/Cron.php (399) -> run() 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] => #6 /home/projeqt/public_html/tool/cronRelaunch.php (30) -> relaunch() 2021-02-24 09:32:29.383 ** ERROR ** [V9.0.4] The content of the TD tag does not fit on only one page 2021-02-24 09:32:29.383 ** ERROR ***** [V9.0.4] Exception while executing CRON script : fix the source issue and manually restart the CRON Process
Any idea on how to fix that ?
Kind regards,
locaol
Hi,
This is not an issue due to V9.0.
It is a limitation that always existed, due to external library we use to export reports into PDF. : html2pdf
This library fails to export data in a TD (cell of talbe) that is biger than 1 page (does not fit a page)
Possibly we could find a workaround is you could identify which report generation is causing the issue (which report with which parameters)