Grayscale profile picture

Patrique Ouimet

Developer

PHP Imagick Webp Error

Sat, Dec 5, 2020 4:32 PM

If imagick shows an error similar to this

ERROR: unable to open file `/tmp/magick-7508Zd2ThTGmaMOK': No such file or directory @ error/constitute.c/ReadImage/544 {"userId":2,"exception":"[object] (ImagickException(code: 430): unable to open file `/tmp/magick-7508Zd2ThTGmaMOK'

You might be having issues with webp images.

The solution is quite simple, run the following commands:

sudo apt install webp

Reload FPM and you're good to go!