You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But for some pages I'm getting the "Object (id:38521) not found." on ImportPage() --> getImportedExternalPageLinks() --> PdfType::resolve($annotation, $parser); --> $parser->getIndirectObject($value->value) --> $this->getCrossReference()->getIndirectObject($objectNumber); :
$offset = $this->getOffsetFor($objectNumber);
if ($offset === false) {
throw new CrossReferenceException(
\sprintf('Object (id:%s) not found.', $objectNumber),
CrossReferenceException::OBJECT_NOT_FOUND
);
}
mPDF version
v8.2.2
PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions)
8.1.0
Reproducible PHP+CSS+HTML snippet suffering by the error
Hi, I have created the issue at FPDI(Setasign/FPDI#191) and they fixed it. But in Mpdf the code is not using the FPDI importExternalLinks, as it's set to false by default on fpdiImportPage:
Guidelines
Description of the bug
I'm trying to use the Mpdf to add the bookmarks in the existing PDF file and for that I wrote this code:
But for some pages I'm getting the "Object (id:38521) not found." on ImportPage() --> getImportedExternalPageLinks() --> PdfType::resolve($annotation, $parser); --> $parser->getIndirectObject($value->value) --> $this->getCrossReference()->getIndirectObject($objectNumber); :
mPDF version
v8.2.2
PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions)
8.1.0
Reproducible PHP+CSS+HTML snippet suffering by the error
The text was updated successfully, but these errors were encountered: