I recently ran into this problem. I use TCPDF to merge downloaded PDF files. Curiously, something went wrong when importing some PDF files. Some cases following the error were printed:
Cannot find the keyword "startxref". in pdf_parser -> _ findXref ()
So I tried to solve by opening these PDF files in Google Chrome and saving it as a PDF again. To my surprise, TCPDF will work! I still don't know how this could be, but now I have a workaround.
source share