- Issue created by @lucian.ilea
- π¬π§United Kingdom joehuggans Harrogate, UK
joe huggans β made their first commit to this issueβs fork.
Once I updated my server to php 8.3, the warning below showed up:
Deprecated function: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in print_pdf_dompdf_print_pdf_generate() (line 139 of sites/all/modules/contrib/print/print_pdf/lib_handlers/print_pdf_dompdf/print_pdf_dompdf.pages.inc).
1. Generate a PDF file
2. Refresh the page or navigate to another page.
3. The error message will be displayed.
Patch attached
n/a
n/a
n/a
n/a
Please note that I am not proficient in creating patches, therefore please correct if something is off.
Thank you!
Needs review
2.5
Code
The issue particularly affects sites running on PHP version 8.2.0 or later.
joe huggans β made their first commit to this issueβs fork.