HANA PDF v3.6.4 [BE] [HOTFIX]
Before Condtion:
In some condition, when count pdf files by using $pdf->pageCount() with spatiePDF modules. It'll run issue in some of PDF files when it can't repopulate with Ghostscript and return error;
PDFDelegateFailed [ghostscript library 10.04] -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r2.0x2.0' -dPrinted=false '-sOutputFile=/tmp/magick-eLtRTJYemQEHIfT1hu3Tuv42uBnodDfK%d' '-f/tmp/magick-Coayb8omrqMkD5YVdcNfHgbCobmeJmeK' '-f/tmp/magick-gjttaXChInmMeYFp5Fq7DgXYBefCiceK': (null)' @ error/pdf.c/ReadPDFImage/712
The backend itself doesn't crash, cause error already handled properly. But it'll be stopper to main process due fail to get total PDF pages.
Next Condition:
Use old php native function to count PDF pages from previous method, to count properly PDF pages in the mean time
What's Changed
- [BE][Weekly Update] Composer update 20241208 by @Nicklas373 in #297
- [HOTFIX][BE]: Use old php native function to count PDF pages by @Nicklas373 in #299
Full Changelog: v3.6.3-BE-PROD...v3.6.4-BE-PROD