Wordpress error uploading PDF: ImagickException: Unable to read image blob

Started by senthil, Jun 19, 2025, 06:18 AM

Previous topic - Next topic

senthil

Symptoms
  • WordPress instance is having issues uploading PDF files:
    AH01071: Got error 'PHP message: ImagickException: Unable to read image blob; PHP
    message: Upload failed: String binary is zero after processing image'
  • Plesk is using Debian/Ubuntu
Cause
The ghostscript package is missing.

Resolution
  • Connect to the Plesk server via SSH.
  • Execute command:
    #apt-get install ghostscript