lara-pdf-merger
lara-pdf-merger copied to clipboard
PHP 8 Compatibility
The current version will not run on PHP8. This pull request: https://github.com/tecnickcom/TCPDF/pull/244 seems to fix the issue.
Hi, this is not applied yet, right? Do I have to rollback to php 7.4 in order to be able to use this package? Thanks!
dhcmega
Well, I just got it working with PHP 8 and Laravel 8 with no troubles whatsoever.
Hi It works, the problem starts when there is something regarding fonts:
PHP Deprecated: Required parameter $currentfont follows optional parameter $str in /home /vpssigesedev/sigesedev.huayra.com.ar/vendor/daltcore/lara-pdf-merger/src/LynX39/LaraPdfMerger/tcpdf/include/tcpdf_fonts.php on line 2072
I only use it to merge PDF files, nothing special really. Maybe that is why it worked at once fore me.
Edit: currently also getting this error! For some reason not always when merging pdfs.
Edit2: fixed in TCPDF 6.4.1: https://github.com/tecnickcom/TCPDF/issues/222