- First commit to issue fork.
- πΊπ¦Ukraine gilmord πΊπ¦Ukraine
Drupal 10 requires psr/log version 3, mpdf only works with 1 and 2
- πΊπ¦Ukraine gilmord πΊπ¦Ukraine
Looks like the maintainer of mpdf does not want to support new PHP and dependency versions in favor of support of old versions
https://github.com/mpdf/mpdf/issues/1263#issuecomment-740019955I am not sure this module makes much sense in this case, for the new implementations I would suggest using entity print, it uses dompdf library:
https://www.drupal.org/project/entity_print β - π¨π¦Canada b_sharpe
- Status changed to Needs work
over 1 year ago 5:37pm 9 August 2023 - π¨π¦Canada b_sharpe
I was able to get this working for D10 by the following:
- Set your own repo in composer.json to the 2.x branch (this could be solved by the maintainers making this available as a release)
- Set the requirement on that package for mpdf to `~8.1.6` to allow PSR log 3 / PHP 8.1
- Apply the patch from π Drupal 10 compatibility fixes RTBC