You must set the policy of ImageMagick to allow PDF read. See https://stackoverflow.com/questions/52703123/override-default-imagemagick-policy-xml
ImagickException: FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r150x150' -dPrinted=false '-sOutputFile=/tmp/magick-688Yk49WhKvcEy-iXveKiylLWXUQ1kao%d' '-f/tmp/magick-C2ehdquauyrYKe1Li34z_Ru-0pFInGRZ' '-f/tmp/magick-q13AQ7Rb-cmYACMpyDaD3F9nvti8PZii'' (256) @ error/ghostscript-private.h/ExecuteGhostscriptCommand/75 in /home/zeidacadmey/public_html/e/mod/securepdf/view.php:98
Stack trace:
#0 /home/zeidacadmey/public_html/e/mod/securepdf/view.php(98): Imagick->readImageBlob()
#1 {main}