Hi stephen, thanks, i change $usey = $this->y + 0.002; to $usey = floatval($this->y) + 0.002;
i try again, and nothin, the new error log say:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /var/www/html/openemr/vendor/mpdf/mpdf/src/Mpdf.php:6649\nStack trace:\n#0 /var/www/html/openemr/vendor/mpdf/mpdf/src/Mpdf.php(16061): Mpdf\Mpdf->finishFlowingBlock()\n#1 /var/www/html/openemr/vendor/mpdf/mpdf/src/Tag/BlockTag.php(234): Mpdf\Mpdf->printbuffer()\n#2 /var/www/html/openemr/vendor/mpdf/mpdf/src/Tag.php(240): Mpdf\Tag\BlockTag->open()\n#3 /var/www/html/openemr/vendor/mpdf/mpdf/src/Mpdf.php(13921): Mpdf\Tag->OpenTag()\n#4 /var/www/html/openemr/vendor/mpdf/mpdf/src/Mpdf.php(12500): Mpdf\Mpdf->WriteHTML()\n#5 /var/www/html/openemr/vendor/mpdf/mpdf/src/Mpdf.php(13447): Mpdf\Mpdf->_getHtmlHeight()\n#6 /var/www/html/openemr/interface/patient_file/report/custom_report.php(870): Mpdf\Mpdf->WriteHTML()\n#7 {main}\n thrown in /var/www/html/openemr/vendor/mpdf/mpdf/src/Mpdf.php on line 6649, referer: http://localhost/openemr/interface/patient_file/report/patient_report.php
and the 6649 line in mpdf.php say:
if (!$is_table && ($this->y + $check_h) > ($this->PageBreakTrigger + $buff) and ! $this->InFooter and $this->AcceptPageBreak()) {
I have and other pc with openemr 7.0.1, and the pdf download function works, this is a bug of the new 7.0.2? i try to use the pdf download fuction in the online demo 7.0.2, and doesnt works to.