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-WYCE9KErLvbYTHeg0EVbv-LeiTti6wc8%d' '-f/tmp/magick-_4vpoCtdyKGlHXOHp8WCyIbHqvovCBAI' '-f/tmp/magick-yH5B6qME9PjmtqDPGH7PA_l58dbV5ok6'' (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}