Open jrchamp opened 2 years ago
This may be a duplicate of #439 which may also mean that my "fix" is resulting in a document that is not showing overflowed content.
I found the cause - poorly formed HTML really messes everything up:
<table>
<tr>
<td>
<td>Text</td>
</td>
</tr>
</table>
We have experienced this problem as well. I have tested out fix from @jrchamp and it has worked for us.
worked like a charm, thanks a lot @jrchamp
Here's where the TypeError is being thrown: https://github.com/tecnickcom/TCPDF/blob/cc54c1503685e618b23922f53635f46e87653662/tcpdf.php#L18344
Here's the basic initialization that I added immediately before the array_push() line so that it would at least have an empty array instead of null.