Support

Home Forums Event Espresso Premium Downloading receipt results in HTTP 500 error after update to WP 4.7

Downloading receipt results in HTTP 500 error after update to WP 4.7

Posted: December 8, 2016 at 12:19 pm


malctrainingevents

December 8, 2016 at 12:19 pm

Hi,

I have just updated WordPress to 4.7. Everything works well except downloading recceipts (invoices no issues). When clicking the download button the following error appears:

The http://www.malctraining.com page isn’t working

“www.malctraining.com is currently unable to handle this request.
HTTP ERROR 500”

I have enabled WP_DEBUG and got these additional errors:

Warning: DOMNode::cloneNode(): ID invoice already defined in /home/civili10/public_html/malctraining.com/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/frame_decorator.cls.php on line 429

Fatal error: Call to undefined function imagecreatefrompng() in /home/civili10/public_html/malctraining.com/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/lib/class.pdf.php on line 4258

Please find a video of the issue here: http://screencast.com/t/cZDcjRU9IBw2

Hope you can help fix this.

Thanks!
Syl


Tony

  • Support Staff

December 8, 2016 at 12:42 pm

Hi there,

This is the problem:

Fatal error: Call to undefined function imagecreatefrompng()

imagecreatefrompng() is a core PHP function and should be available.

Can you check which version of PHP you are currently running?

You should be able to find this within:

Event Espresso -> Maintenance -> System information

Search for php_version.


Josh

  • Support Staff

December 8, 2016 at 12:45 pm

Hi Syl,

You will need to contact your host and ask them to install the GD library. See also:

http://stackoverflow.com/questions/30856865/php-fatal-error-call-to-undefined-function-imagecreatefrompng


malctrainingevents

December 8, 2016 at 12:54 pm

Hi,

We are running on PHP version 5.6.28. I will contact the host and ask to install the GD library.

Will keep you up to date.

Thanks,
Syl

The support post ‘Downloading receipt results in HTTP 500 error after update to WP 4.7’ 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