- Issue created by @EthanT
- First commit to issue fork.
- @j-barnes opened merge request.
- πΊπΈUnited States j-barnes
@ethan - Great find, it looks like mpdf needed to have the temp location explicitly set to avoid having it use the vendor location which was causing permission issues on certain environments like Acquia Platform. This lead to a serialization error because the logger function was trying to print out the entire exception.
I've updated the logger to use
$e->getMessage()
and now pull in the temp location via filesystem and have also cleaned up some of the types.Thanks again, going to leave this open for a bit for testing.
- Status changed to Needs review
over 1 year ago 4:54pm 14 July 2023 - πΊπΈUnited States j-barnes
Unfortunately it looks like mPDF uses FPDI which does not work on PDFs above v1.4 (at least the free version). Updating MR to use GhostScript instead which should have increased performance and works on 1.7+.
- Status changed to RTBC
over 1 year ago 3:51pm 19 July 2023 - πΊπΈUnited States Sunny-Lee
PDF metadata patches and modules now work with Drupal 10 and PHP 8.1
-
j-barnes β
committed 4a3cdf9e on 1.0.x
Issue #3368688: LogicException: Settings can not be serialized.
-
j-barnes β
committed 4a3cdf9e on 1.0.x
- Status changed to Fixed
over 1 year ago 4:27pm 19 July 2023 - Status changed to Fixed
over 1 year ago 12:44am 31 July 2023