Fatal error: Uncaught setasign\Fpdi\PdfParser\PdfParserException: Unable to find PDF file header. in /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/PdfParser.php:130 Stack trace: #0 /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/PdfParser.php(171): setasign\Fpdi\PdfParser\PdfParser->resolveFileHeader() #1 /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfReader/PdfReader.php(84): setasign\Fpdi\PdfParser\PdfParser->getPdfVersion() #2 /var/www/html/legalitas/download/FPDI-2.3.4/src/FpdiTrait.php(214): setasign\Fpdi\PdfReader\PdfReader->getPdfVersion() #3 /var/www/html/legalitas/download/write_pdf.php(138): setasign\Fpdi\Fpdi->setSourceFile() #4 {main} thrown in /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/PdfParser.php on line 130