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/PdfReader/PdfReader.php(164): setasign\Fpdi\PdfParser\PdfParser->getIndirectObject() #3 /var/www/html/legalitas/download/FPDI-2.3.4/src/FpdiTrait.php(259): setasign\Fpdi\PdfReader\PdfReader->getPage() #4 /var/www/html/legalitas/download/write_pdf.php(145): setasign\Fpdi\Fpdi->importPage() #5 {main} Next setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException: Object (id:5) not found at location (1837). in /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/CrossReference/Cros in /var/www/html/legalitas/download/FPDI-2.3.4/src/PdfParser/CrossReference/CrossReference.php on line 176