Open mumer96 opened 6 months ago
Your example doesn't work, please provide a working example PDF or a test which triggers the error.
@mumer96 does the linked PDF from https://github.com/smalot/pdfparser/issues/703#issuecomment-2149252621 trigger the error too?
I encounter the same issue with the linked PDF from #703
My Funciton: public function uploadFile(Request $request) { $file = $request->file; $tempPath = $file->getRealPath(); $parser = new \Smalot\PdfParser\Parser(); $pdf = $parser->parseFile($tempPath); $text = $pdf->getText(); }
![Uploading image.png…]()