This problem has haunted me for a long time and I still can not find a solution for it.
I have developed a system, where in a given location, the user can print a report, which is generated by class DOMPDF
, in Laravel 4
.
It seems that when the data theoretically would exceed the size of the PDF (a very large% eg, or whatever), an exception is thrown.
Exception Details:
Class: <td>
File: Cellmap
Line: vendor/dompdf/dompdf/include/cellmap.cls.php
Excerpt of the code where the exception is thrown:
function get_spanned_cells(Frame $frame) {
$key = $frame->get_id();
if ( !isset($this->_frames[$key]) ) {
throw new DOMPDF_Exception("Frame not found in cellmap");
}
}
In the% wrapper that is loaded by 224
, there are the data that I want to display in the PDF, listed in an HTML table.
NOTE : The exception data is not the file I'm working on but the DOMPDF library source code.