Support

Home Forums Event Espresso Premium PDF invoice issue with PHP 8.0 & PHP 8.1

PDF invoice issue with PHP 8.0 & PHP 8.1

Posted: September 21, 2022 at 9:14 am

Viewing 3 reply threads


YvonneDeffner

September 21, 2022 at 9:14 am

Hi all,

Our webhoster will switch off PHP 7.4 which we are using at the moment.
So we switched to PHP 8.0 and PHP 8.1 but then we have issues with PDF download of invoices.

With PHP 8.0 it creates a PDF and downloads it but it´s an empty file.
Ant with PHP 8.1 we get a fatal error after clicking on PDF download button.

Can you help us to solve this in the next weeks before we can not use PHP 7.4 anymore?

Thanks and best regards
Anna-Lena


Garth

  • Support Staff

September 21, 2022 at 6:02 pm

Hi Anna,

What version of Event Espresso are you using?

Can you give use the fatal error message?


YvonneDeffner

September 27, 2022 at 6:47 am

Hi Garth,

error when we click on button to download invoice as PDF:

with PHP 8.1 the Error is standard error message in German “Es gab einen kritischen Fehler auf deiner Website.” without more information. In English it would be: “There Has Been a Critical Error on Your Website.”

with PHP 8.0: Blank PDF without error message.

Best regards
Anna-Lena


Tony

  • Support Staff

September 27, 2022 at 9:28 am

Hi Anna-Lena,

The DOMPDF library we are currently using is not compatible with PHP8, we are working on updating the library to prevent the above errors in the next update for EE4.

Viewing 3 reply threads

The support post ‘PDF invoice issue with PHP 8.0 & PHP 8.1’ 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