Fatal error: Uncaught setasign\Fpdi\PdfParser\Type\PdfTypeException: Got unexpected token type. in /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/PdfParser.php:322 Stack trace: #0 /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/CrossReference/CrossReference.php(174): setasign\Fpdi\PdfParser\PdfParser->readValue() #1 /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/PdfParser.php(228): setasign\Fpdi\PdfParser\CrossReference\CrossReference->getIndirectObject() #2 /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/Type/PdfType.php(45): setasign\Fpdi\PdfParser\PdfParser->getIndirectObject() #3 /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfReader/PdfReader.php(100): setasign\Fpdi\PdfParser\Type\PdfType::resolve() #4 /var/www/html/legalitas/download/FPDI-2.3.4/src/FpdiTrait.php(216): setasign\Fpdi\PdfReader\PdfReader->getPageCount() #5 /var/www/html/legalitas/download/write_pdf.php(138): setasign\Fpdi\Fpdi->setSourceFile() #6 {main} Next setasign\Fpdi\PdfParser\CrossReference\CrossRefer in /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/CrossReference/CrossReference.php on line 176