Home Forums Event Espresso Premium PDF without images

PDF without images

Posted: August 2, 2018 at 11:23 am


August 2, 2018 at 11:23 am


When a user finish the registration process for a event and donwload de invoce pdf, the pdf is donwloaded but when is opened dont show any images (header image, calendar icon image, etc.) only show this “Image not found” error and the url of the image.


  • Support Staff

August 2, 2018 at 12:00 pm


The first thing to do is check with the server administrator and make sure the following server requirements are met:

  • PHP 5.4+
  • DOM extension
  • GD extension
  • MBString extension
  • allow_url_fopen set to true; this is sometimes disabled by hosting providers


August 6, 2018 at 11:56 pm


The site is in PHP 7.2, and I checked with my hosting provider and all the requirements are met.


August 6, 2018 at 11:59 pm

I make a test creating a pdf and the php error log show this:
Warning: A non-numeric value encountered in /home/pymenauta/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/inline_renderer.cls.php on line 132

Deprecated: Function create_function() is deprecated in /home/pymenauta/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/text_frame_reflower.cls.php on line 374


  • Support Staff

August 7, 2018 at 2:34 am

Hi MauRoverssi,

Firstly, my apologies.

I just accidentally reset your license key (a schoolboy error on my part), you can ignore the email about resetting your EE will relink your domain to your site shortly, or you can force it to relink by following the steps, either way it won’t affect the functionality on your site and is not linked to the issue above.

Can you link me to either a test event I can run a registration on, or link me directly to view an invoice for a test registration?


August 8, 2018 at 4:47 pm

Hi Tony

I created this temporary test event

  • This reply was modified 1 year, 7 months ago by  Tony. Reason: Removed login


  • Support Staff

August 8, 2018 at 5:14 pm

As far as I can tell, allow_url_fopen is not enabled.

The PDF version of the invoice isn’t loading any of the styles as well as images, that usually happens when allow_url_fopen is not enabled.

It could possibly be due to the changes you’ve made to the invoice template, is that a custom template or have you edited the default?


August 11, 2018 at 10:05 pm


allow_url_fopen was disabled. I enable but still now working.

Is the default template, I only edited in Messages.


  • Support Staff

August 13, 2018 at 2:43 am

Ok, so Josh posted all of the requirements for DOMPDF here:

You previously stated those were all met, but allow_url_fopen was not actually enabled, so can you please double check the other requirements and confirm.

If you enable WP_Debug using this code in your wp-config.php file:

Then download a PDF and look in /wp-content/debug.log

Do you see any errors?

The support post ‘PDF without images’ 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  Tony 1 year, 7 months ago ago

Topic Tags

Tagged: ,


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