Can't get rid of PHP notices in mPDF

后端 未结 3 639
不思量自难忘°
不思量自难忘° 2021-01-20 11:24

I\'m using the mPDF library to generate PDF docs directly from HTML output. The problem is that this mPDF library is written as it is and it is generating dozens of notices

3条回答
  •  时光说笑
    2021-01-20 11:47

    It seems the error occurs just when it tries to write out the new table headings for each page. I commented out in V 5.4 line 26210

    #$this->TableHeaderFooter($tablefooter,$tablestartpage,$tablestartcolumn,'F',$level, $firstSpread, $finalSpread);   // mPDF 5.3.36
    

    The heading where not getting drawn regardless so commenting out this line had no effect other than killing the notices.

提交回复
热议问题