Home Forums Event Espresso Premium FPDF error Missing or incorrect image file

FPDF error Missing or incorrect image file

Posted: March 12, 2014 at 8:46 pm


March 12, 2014 at 8:46 pm

Akismet by Automattic version 2.5.9,
AutoChimp by Wanderer LLC Dev Team version 2.15,
Contact Form 7 by Takayuki Miyoshi version 3.7.2,
Event Espresso – Calendar by Event Espresso version 2.2.2.p,
Event Espresso – Custom Template Display by Event Espresso version 1.0,
Event Espresso – Social Coupons by Seth Shoultes version 1.5.4.p,
Event Espresso – MailChimp Integration by version 1.2,
Event Espresso – Members Addon by Event Espresso version 1.9.8.p,
Event Espresso – Multi Event Registration by Seth Shoultes version 1.0.5.p,
Event Espresso – Permissions by Event Espresso version 1.5.5.p,
Event Espresso – Recurring Events by Event Espresso version 1.1.8.p,
Event Espresso – Social Media by Event Espresso version 1.1.7.p,
Event Espresso – Ticketing by Event Espresso version 2.1.p,
Event Espresso by Event Espresso version,
Flickr Photostream by Miro Mannino version 2.3.2,
Hello Dolly by Matt Mullenweg version 1.6,
Jetpack by by Automattic version 2.9.1,
No Self Pings by Michael D. Adams version 0.2,
Send From by Ben Buddle version 1.3,
WooDojo by WooThemes version 1.5.4,
WooSidebars – Sidebar Manager to WooSidebars Converter by WooThemes version 1.1.1,
WooSidebars by WooThemes version 1.3.1,
WooThemes Helper by WooThemes version 1.2.3,
Countdown Widget by Matt Say version 2.5.4,
WordPress Importer by wordpressdotorg version 0.6.1,
WP Image Size Limit by Sean Butze version 1.0.4,
WP-Memory-Usage by Alex Rabe version 1.2.2,
WP-reCAPTCHA by Jorge Peña version 3.2
New installation? Yes (some plugins).
Registration page:


Hi, Team!

I have a problem downloading the PDF Invoice. Here’s the error message:

FPDF error: Missing or incorrect image file:

I’ve done some research in order to fix this issue. Here’s my checklist:
1. The image logo format is jpg, not png with alpha layer. I’ve tried to replace the image with other ones but it didn’t solve the problem.
2. I’ve checked the php.ini file in my wp-admin folder, the ‘allow_url_fopen’ is already set to “on”. You can see it via this link: *REDACTED*

Looking forward to hearing from you guys.

  • This topic was modified 6 years, 4 months ago by  Dean. Reason: removed sensitive data


March 12, 2014 at 8:50 pm

Event Espresso version:
WordPress version: WP 3.8.1


March 13, 2014 at 2:36 am


Another two checks please:

1) Make sure that in the Invoice Settings, the image URL does not have any whitespace/spaces before or after it.

2) go to and look for image_default_link_type and make sure the corresponding value is file screenshot


March 13, 2014 at 3:15 am

1) I’ve rechecked the image URL. No spaces, for sure.
2) I don’t see the word ‘file’ near ‘image_default_link_type’. I can only find one line with the ‘image_default_link_type’:

‘media’ => array( ‘thumbnail_size_w’, ‘thumbnail_size_h’, ‘thumbnail_crop’, ‘medium_size_w’, ‘medium_size_h’, ‘large_size_w’, ‘large_size_h’, ‘image_default_size’, ‘image_default_align’, ‘image_default_link_type’ ),


  • Support Staff

March 13, 2014 at 5:39 am

Hi Meng,

That looks like you a viewing the files code.

If you go to the URL Dean provided you should see something like this

Within that page find ‘image_default_link_type’ and you should find a field the same as the image Dean posted.

Does the field have ‘file’ within it?


March 13, 2014 at 6:03 am

Hi Tony,

So the URL should be, then. I have entered ‘file’ (without ”) as the corresponding value. I didn’t know I can access that page, though. I’ve tried again to download the PDF Invoice, but failed. The same error message still appeared:

FPDF error: Missing or incorrect image file:

Here’s the link to the screenshot of my options.php:


March 13, 2014 at 7:06 am


You could try setting allow_url_include to On as well.

Also please remove the phpinfo() file you linked earlier from your site when not in use, otherwise it is a possible security risk.


March 13, 2014 at 7:36 am

I’ve just done that. Still no good. I’ve never had this kind of problem during my past events. Why is it so hard to fix this?


March 14, 2014 at 3:54 am


It’s generally either a malformed URL or it is a server issue (which makes it harder to fix).

Is it possible to get your login details in order to look into this?

If so, please send them via

NOTE: login details need to be Admin level and FTP details are appreciated.


March 14, 2014 at 6:37 am

OK, I cannot see any issues with this on your site, so I think you need to refer to your host to make sure that allow_url_fopen is definitely on.

The support post ‘FPDF error Missing or incorrect image file’ 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  Dean 6 years, 4 months ago ago

Topic Tags



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