Home Forums Event Espresso Premium PDF Download not working

PDF Download not working

Posted: October 26, 2018 at 10:38 am


October 26, 2018 at 10:38 am

In the Invoice, the PDF Download button doesn’t work. The error log shows the error below. Event Espresso has just been updated, although it didn’t work before either. Thanks

PHP Fatal error: Uncaught Error: Call to a member function get_cellmap() on null in /nas/content/live/thesca/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/table_cell_frame_reflower.cls.php:31\nStack trace:\n#0 /nas/content/live/thesca/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/frame_decorator.cls.php(556): Table_Cell_Frame_Reflower->reflow(NULL)\n#1 /nas/content/live/thesca/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/table_row_frame_reflower.cls.php(41): Frame_Decorator->reflow()\n#2 /nas/content/live/thesca/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/frame_decorator.cls.php(556): Table_Row_Frame_Reflower->reflow(Object(Block_Frame_Decorator))\n#3 /nas/content/live/thesca/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/block_frame_reflower.cls.php(722): Frame_Decorator->reflow(Object(Block_Frame_Decorator))\n#4 /nas/content/live/thesca/wp-content/plugins/event in /nas/content/live/thesca/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/table_cell_frame_reflower.cls.php on line 31, referer:


  • Support Staff

October 26, 2018 at 10:51 am


The same error has been reported elsewhere:

Usually it’s a simple fix that involves checking the contents of the customizable parts of invoice template, and verifying that all opening tags have a closing tag.

We can help take a look if you can post the contents of your site’s invoice template in a pasteBin or GitHub Gist, then link here.


October 26, 2018 at 11:00 am

Thanks Josh – I cant see anything wrong myself, but another pair of eyes on it would be helpful!


  • Support Staff

October 26, 2018 at 11:16 am

That’s actually not the complete template, only one section. Can you post the contents of each section?


October 26, 2018 at 12:26 pm

Sorry. Here you go


  • Support Staff

October 26, 2018 at 12:51 pm

OK thanks. Within the [TICKET_LIST] section there’s some table markup
(<td>‘s and <tr>‘s), however, the [TICKET_LIST] shortcode is not within an html table.

You could either remove the table markup from within the [TICKET_LIST] section or wrap the [TICKET_LIST] shortcode in the appropriate table tags. The script that converts the html to PDF (DOMPDF) is much more strict than a web browser, so even an unclosed <td> tag will result in an error.

You could create a custom Invoice template from the default template (you go to Messages > Default Message Templates, then click Create Custom in the Invoice row) and use that as a reference.


October 29, 2018 at 4:18 am

Thank you Josh. In the end I reset the template and now it’s working fine.

The support post ‘PDF Download not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  tsca 5 months, 3 weeks ago ago

Topic Tags


This topic is:
Do NOT follow this link or you will be banned from the site!