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:341 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/FpdiTrait.php(334): setasign\Fpdi\PdfParser\Type\PdfType::resolve() #4 /var/www/html/legalitas/download/write_pdf.php(145): setasign\Fpdi\Fpdi->importPage() #5 {main} Next setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException: Object (id:3) not found at location (215833). in /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/CrossReferen in /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/CrossReference/CrossReference.php on line 176