Generating PDF dont work after Update

Version ie <v5.11.9>

5.11.9

Environment <Docker/Shared Hosting/Zip/Other>

Selfhostet

Describe the bug

After the update, invoicing no longer works. I created invoices beforehand in the previous version and sent them to my customer. Without any problems.
Now I get the following error message when I click on the “Call sign” button at the bottom left of the menu:
“The crons must be activated”
Even the PDF files that have already been created can no longer be retrieved.

Unfortunately I am not very familiar with PHP and would be very grateful for help.

Regards
Nick

Hi,

Are there any errors in storage/logs?

You may want to ask in a discussion on GitHub.

Hi Hillel!
YES :slight_smile:
[2025-01-06 10:51:15] production.ERROR: Maximum execution time of 60 seconds exceeded {“userId”:1,“exception”:"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Maximum execution time of 60 seconds exceeded at /www/htdocs/w01f9890/bill/app/Services/Pdf/Purify.php:350)
[stacktrace]
#0 {main}
“}
[2025-01-06 10:52:33] production.ERROR: Maximum execution time of 60 seconds exceeded {“userId”:1,“exception”:”[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Maximum execution time of 60 seconds exceeded at /www/htdocs/w01f9890/bill/app/Services/Pdf/Purify.php:350)
[stacktrace]
#0 {main}
“}
[2025-01-06 10:52:51] production.ERROR: Maximum execution time of 60 seconds exceeded {“userId”:1,“exception”:”[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Maximum execution time of 60 seconds exceeded at /www/htdocs/w01f9890/bill/app/Services/Pdf/Purify.php:349)
[stacktrace]
#0 {main}
"}

Regards

I take my FRED to GitHub :slight_smile:
THX

Update:
I tested to remove the lines 348 - 352 in purify.php
Works again :slight_smile:

I put the Info to my posting at GitHub

Regards
Wolkenlos

1 Like

Glad to hear it, thanks for sharing the fix!

1 Like

Hi turbo124!

I updated to 5.11.18
and added: DISABLE_PURIFY_HTML=true
to .env

Problem fixed :slight_smile:
THX a lot!!!

Regards
wolkenlos