Support

Home Forums Event Espresso Premium Invoice Error

Invoice Error

Posted: February 17, 2019 at 11:29 pm

Viewing 1 reply thread


wenhk

February 17, 2019 at 11:29 pm

When generating an invoice/receipt for download, this error pops up: Warning: getimagesize(http://wenhk.org/wp-content/uploads/2016/04/WEN-logo-01.png): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home4/kfwhile/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_shortcodes.lib.php on line 499. Unable to stream pdf: headers already sent

What should be done to correct this?


Tony

  • Support Staff

February 18, 2019 at 5:41 am

Hi there,

It looks like the logo you have set for the Invoice is no longer available on the site?

If you click this link: http://wenhk.org/wp-content/uploads/2016/04/WEN-logo-01.png

There’s no image available and you’ll get a 404, that’s what is happening when EE sends the request to pull that image and it looks like your server is set to display errors on the page (which I’d recommend you disable on a production site).

There’s a couple of different locations the Invoice pulls the logo from, the first one is:

Event Espresso -> Payment methods -> Invoice -> ‘Logo Image’
(If the invoice payment methods isn’t enabled temporarily enable it as if a value is set on that field EE will use it)

Make sure that field is valid and points to a valid image.

OR if you want EE to use the image set in Event Espresso -> General Settings -> Company Logo then make set the above field (the one in the invoice payment method) to nothing and save.

Viewing 1 reply thread

The support post ‘Invoice Error’ 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.

Event Espresso