phalcon/cphalcon · error · Phalcon\Image\Exceptions\ExtensionNotLoaded

Imagick is not installed, or the extension is not loaded

Error message

Imagick is not installed, or the extension is not loaded

What it means

Error "Imagick is not installed, or the extension is not loaded" thrown in phalcon/cphalcon.

Source

Thrown at phalcon/Image/Adapter/Imagick.zep:948

            if (true !== current->nextImage()) {
                break;
            }
        }

        image->clear();
        image->destroy();
    }

    /**
     * Checks if Imagick is enabled
     *
     * @return void
     * @throws Exception
     */
    private function check() -> void
    {
        if (true !== class_exists("imagick")) {
            throw new ExtensionNotLoaded("Imagick");
        }

        if (defined("Imagick::IMAGICK_EXTNUM")) {
            let this->version = constant("Imagick::IMAGICK_EXTNUM");
        }
    }

    /**
     * Marks every frame with the format.
     *
     * setImageFormat() marks the current frame only, and a wand built with
     * newImage() carries no format at all, which stops a multi frame write.
     *
     * @throws ImagickException
     */
    private function setFramesFormat(var image, string extension) -> void
    {
        image->setIteratorIndex(0);

View on GitHub (pinned to b7419de9cd)

When it happens

Trigger: Thrown at phalcon/Image/Adapter/Imagick.zep:948 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of phalcon/cphalcon@b7419de9cd (2026-08-21). Data as JSON: /api/errors/0a07f184ccaca1ab. Report an issue: GitHub.