When I hit the pdf button on the html receipt page, the pdf will not download. In Firefox, I get a blank page, in chrome server error 500.
I have read all similar posts on this topic but nothing worked.
I’m using
EE 3.1.37.13.P
the memory_limit is 256M
php70
GD & MBString extensions are installed
allow_url_fopen is enabled on all php versions (but in cPanel documentations it is mentioned that The system only displays this directive if you use the suPHP PHP handler. which are not enabled) should I enable mod_suexec and mod_suphp?
A blank page/error 500 usually means a fatal error is being thrown on the server, if you look in your servers error logs can you see any errors from Event Espresso?
Or, if you add this snippet to your wp-config.php file:
PHP Deprecated: Non-static method EE_VLM_DSCNT::instance() should not be called statically in /public_html/wp-content/plugins/espresso-volume-discounts-pr/espresso-volume-discounts.php on line 1452
PHP Notice: Undefined property: stdClass::$venue_id in /public_html/wp-content/plugins/espresso-ticketing/functions.php on line 187
PHP Deprecated: Non-static method EE_VLM_DSCNT::instance() should not be called statically in /public_html/wp-content/plugins/espresso-volume-discounts-pr/espresso-volume-discounts.php on line 1452
PHP Notice: Undefined property: stdClass::$venue_id in /public_html/wp-content/plugins/espresso-ticketing/functions.php on line 187
PHP Deprecated: Non-static method EE_VLM_DSCNT::instance() should not be called statically in /public_html/wp-content/plugins/espresso-volume-discounts-pr/espresso-volume-discounts.php on line 1452
PHP Notice: Undefined property: stdClass::$venue_id in /public_html/wp-content/plugins/espresso-ticketing/functions.php on line 187
PHP Deprecated: Non-static method EE_VLM_DSCNT::instance() should not be called statically in /public_html/wp-content/plugins/espresso-volume-discounts-pr/espresso-volume-discounts.php on line 1452
PHP Notice: Undefined property: stdClass::$venue_id in /public_html/wp-content/plugins/espresso-ticketing/functions.php on line 187
PHP Fatal error: Uncaught DOMPDF_Exception: No block-level parent found. Not good. in /public_html/wp-content/plugins/event-espresso/tpc/dompdf/include/inline_positioner.cls.php:66
Stack trace:
#0 /public_html/wp-content/plugins/event-espresso/tpc/dompdf/include/frame_decorator.cls.php(471): Inline_Positioner->position()
#1 /public_html/wp-content/plugins/event-espresso/tpc/dompdf/include/text_frame_reflower.cls.php(340): Frame_Decorator->position()
#2 /public_html/wp-content/plugins/event-espresso/tpc/dompdf/include/frame_decorator.cls.php(477): Text_Frame_Reflower->reflow(NULL)
#3 /public_html/wp-content/plugins/event-espresso/tpc/dompdf/include/page_frame_reflower.cls.php(169): Frame_Decorator->reflow()
#4 /public_html/wp-content/plugins/event-espresso/tpc/dompdf/include/frame_decorator.cls.php(477): Page_Frame_Reflower->reflow(NULL)
#5 /public_html/wp-content/plugins/event-espresso/tpc/dompdf/include/dompdf.cls.php(680): Frame_Deco in /public_html/wp-content/plugins/event-espresso/tpc/dompdf/include/inline_positioner.cls.php on line 66
If you have an Invoice directory in /wp-content/uploads/espresso/gateways/ then you are using a custom invoice.
That location is used to override the default gateways in EE, rename the above directory to invoice-temp or similar, then try and download an Invoice PDF, does it work then?
The support post ‘PDF Download (2)’ 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.