I am using HTML2PDF to convert 8 HTML files to PDf documents.
The code I have produced, and the HTML2PDF files, work brilliantly. Everything operates and runs as expected.
the only problem is, not matter if I have the code in a loop, if I put it into classes, if I destroy or unset the variables, the 8th time WriteHTML is called ($html2pdf->WriteHTML($content)
it fails.
It's not the 8th document - the page refreshes and continues to start on the 8th document, so I know it works. I've changed a bunch of PHP settings as well to give it size and time space.
Any idea what it could be?