fkrauthan / wp-mpdf

Print WordPress posts as PDF. Optional with Geshi highlighting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Warnings when I trying to use ul/ol lists in my custom wp-mpdf-theme template

SeoDeveloper01 opened this issue · comments

I see a huge number of Warnings in error_log file when I use ul or ol lists in my template layout. Without lists, everything is fine.

[09-Dec-2021 09:24:20 UTC] PHP Warning:  A non-numeric value encountered in /domen/wp-content/plugins/wp-mpdf/mpdf/Tag.php on line 1889
[09-Dec-2021 09:27:11 UTC] PHP Warning:  A non-numeric value encountered in /domen/wp-content/plugins/wp-mpdf/mpdf/Tag.php on line 2003
[09-Dec-2021 09:24:20 UTC] PHP Warning:  A non-numeric value encountered in /domen/wp-content/plugins/wp-mpdf/mpdf/Tag.php on line 2006
[09-Dec-2021 09:27:11 UTC] PHP Warning:  A non-numeric value encountered in /domen/wp-content/plugins/wp-mpdf/mpdf/mpdf.php on line 6387

This will most likely go away with the MPDF v8 upgrade. See ticket #21 for status updates.