Support

Home Forums Event Espresso Premium Invoice Receipt shows an error at the top

Invoice Receipt shows an error at the top

Posted: December 11, 2019 at 5:21 pm

Viewing 1 reply thread


MATCP

December 11, 2019 at 5:21 pm

When someone chooses to be invoiced a bill the following code shows up at the top of the page: Warning: getimagesize(https://motreatmentcourts.org/wp-content/uploads/2019/09/MOADCP805Logo-C-e1568839189754.png): failed to open stream: no suitable wrapper could be found in /home/motreatmentcourt/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499

What can be done to fix this?
Thanks,
Karen


Josh

  • Support Staff

December 11, 2019 at 7:02 pm

The error message indicates an issue with the server’s configuration. You could contact your host and ask them if it’s possible to set the server’s allow_url_fopen setting to true. If that’s not possible, your other option is go to Event Espresso > Messages > Default Message template and edit the invoice and/or receipt templates. There you’ll change this:
[INVOICE_LOGO]
to this:
<img class="logo screen" src="[INVOICE_LOGO_URL]" width="150" />

What that will do is set the width of the logo manually instead of dynamically with a function.

Viewing 1 reply thread

The support post ‘Invoice Receipt shows an error at the top’ 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