Forums: Uncaught error with new DOMPDF version if multiple pages needed - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Uncaught error with new DOMPDF version if multiple pages needed Rate Topic: -----

#1 User is offline   roeland 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 28-February 18

Posted 14 June 2018 - 03:55 PM

Hi,

with the new DOMPDF version I have errors when a PDF is created over multiple pages:

Fatal error: Uncaught DOMPDF_Exception: Frame not found in cellmap in D:\websites\mywebsite.eu\httpdocs\crmtest\plugins\dompdf\include\cellmap.cls.php:245 Stack trace: #0 D:\websites\mywebsite.eu\httpdocs\crmtest\plugins\dompdf\include\table_cell_renderer.cls.php(50): Cellmap->get_spanned_cells(Object(Table_Cell_Frame_Decorator)) #1 D:\websites\mywebsite.eu\httpdocs\crmtest\plugins\dompdf\include\renderer.cls.php(287): Table_Cell_Renderer->render(Object(Table_Cell_Frame_Decorator)) #2 D:\websites\mywebsite.eu\httpdocs\crmtest\plugins\dompdf\include\renderer.cls.php(107): Renderer->_render_frame('table-cell', Object(Table_Cell_Frame_Decorator)) #3 D:\websites\mywebsite.eu\httpdocs\crmtest\plugins\dompdf\include\renderer.cls.php(190): Renderer->render(Object(Table_Cell_Frame_Decorator)) #4 D:\websites\mywebsite.eu\httpdocs\crmtest\plugins\dompdf\include\renderer.cls.php(190): Renderer->render(Object(Table_Row_Frame_Decorator)) #5 D:\websites\mywebsite.eu\httpdocs\crmtest\plugins\dompdf\include\re in D:\websites\mywebsite.eu\httpdocs\crmtest\plugins\dompdf\include\cellmap.cls.php on line 245

update:
I found out that When I use Phprunner standard settings (reset pages) and use the setting FIT TO PAGE width in PDF settings, the problem does not occur. But with the new Dompdf version the letters are so small that the PDF is unreadable i this setting. Therefore, I changed the setting to: 70% and in that case the PDF looks are good, but works only for 1 page.

Found also this page with the description of the same problem in an old Dompdf version.

Hope someone has a solution!

Thanks!
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic