crater-invoice / crater

Open Source Invoicing Solution for Individuals & Businesses
https://craterapp.com
GNU Affero General Public License v3.0
7.62k stars 1.53k forks source link

DomPDF and php8.1 deprecation errors #1252

Open francois-mazille opened 11 months ago

francois-mazille commented 11 months ago

Describe the bug Since a migration on a server running ubuntu 22.04 and php 8.1 DomPDF encounter deprecation error when trying to generate pdf.

Expected behavior The pdf should be generated.

Screenshots image

Please complete the following information:

Crater use dompdf 0.9.0, it seems that dompdf only support php8.1 from 1.2.1, is this the problem ?