5
This problem has been haunting me for a long time and I still haven’t found a solution for it.
I have developed a system, where in a given location, the user can print a report, which is generated by the class DOMPDF
, in the Laravel 4
.
It seems that when the data would theoretically exceed the PDF size (a <td>
very large for example, or whatever it is), is launched an exception.
Details of the exception:
Class : Cellmap
Filing cabinet : vendor/dompdf/dompdf/include/cellmap.cls.php
Row : 224
Excerpt from 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 view
which is carried by DOMPDF
, are the data you want to display in the PDF, listed in an HTML table.
NOTE: The exception data is not the file I am working on, but the source code of the DOMPDF library.
It seems to be an old fault since 2009. Have you tried following these footsteps?
– stderr