troubleshooting Question

Imagick Fatal error

Avatar of Ludwig Diehl
Ludwig DiehlFlag for Peru asked on
PDFPHP* imagick
9 Comments2 Solutions298 ViewsLast Modified:
I am trying to open a corrupted pdf file (on purpose) so I can check if it is ok or not, however I get this error:
Fatal error: Uncaught ImagickException: unable to open image `asasdasd': No such file or directory @ error/blob.c/OpenBlob/2853 in ....... Stack trace: #0 ...: Imagick->readimage('asasdasd') #1 ...: Validator\Validators\PdfValidator->isValid() #2 {main} thrown in... on line 14

Open in new window

instead of and exception.
I am using php 7.2 and imagick 3.4.3

Does anyone have an idea to solve this?
Join our community to see this answer!
Unlock 2 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros