Posted: February 6, 2018 at 8:09 pm
|
Hello, I have similar error as this post: downloading receipt results in HTTP 500 error. Checked my log and I have a fatal error that reads: Also have this: PHP version 7.0.27 Any help would be greatly appreciated. |
Hi there, That error usually means another plugin is loading DOMPDF when it shouldn’t not be, so when EE loads it on its own route for generating the PDF it’s already loaded and throws the above. Are you using the ‘WooCommerce PDF Invoices’ plugin? We have another user report the same error with the above plugin a while back: https://eventespresso.com/topic/dompdf-error-when-downloading-invoice/ The depreciated notice is not related but will be fixed in the next version of the EE4 Users integration add-on. |
|
|
Thanks Tony, |
The route that is used to generate the EE PDF’s is unique to EE and should be the only place we load DOMPDF. If another plugin is loading it on that route (ie everywhere) it should be fixed in that plugin to only load the assets it needs at the times it needs them. If you disable whichever plugin is causing it and try to download the PDF it should work, then re-enable the plugin and try downloading a PDF again. If it once again stops working you’ve found the plugin causing it. |
|
|
That’s the plan! |
You’re most welcome. Please do let me know how you get on with this. |
|
The support post ‘HTML 500 Error when Downloading Receipt’ 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.