{"record":{"id":"0a07f184ccaca1ab","repo":"phalcon/cphalcon","slug":"imagick-is-not-installed-or-the-extension-is-not","errorCode":null,"errorMessage":"Imagick is not installed, or the extension is not loaded","messagePattern":"Imagick is not installed, or the extension is not loaded","errorType":"exception","errorClass":"Phalcon\\Image\\Exceptions\\ExtensionNotLoaded","httpStatus":null,"severity":"error","filePath":"phalcon/Image/Adapter/Imagick.zep","lineNumber":948,"sourceCode":"            if (true !== current->nextImage()) {\n                break;\n            }\n        }\n\n        image->clear();\n        image->destroy();\n    }\n\n    /**\n     * Checks if Imagick is enabled\n     *\n     * @return void\n     * @throws Exception\n     */\n    private function check() -> void\n    {\n        if (true !== class_exists(\"imagick\")) {\n            throw new ExtensionNotLoaded(\"Imagick\");\n        }\n\n        if (defined(\"Imagick::IMAGICK_EXTNUM\")) {\n            let this->version = constant(\"Imagick::IMAGICK_EXTNUM\");\n        }\n    }\n\n    /**\n     * Marks every frame with the format.\n     *\n     * setImageFormat() marks the current frame only, and a wand built with\n     * newImage() carries no format at all, which stops a multi frame write.\n     *\n     * @throws ImagickException\n     */\n    private function setFramesFormat(var image, string extension) -> void\n    {\n        image->setIteratorIndex(0);","sourceCodeStart":930,"sourceCodeEnd":966,"githubUrl":"https://github.com/phalcon/cphalcon/blob/b7419de9cd0a8a3f48441ead84c9f8415d463e25/phalcon/Image/Adapter/Imagick.zep#L930-L966","documentation":"Error \"Imagick is not installed, or the extension is not loaded\" thrown in phalcon/cphalcon.","triggerScenarios":"Thrown at phalcon/Image/Adapter/Imagick.zep:948 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b7419de9cd0a8a3f48441ead84c9f8415d463e25","analyzedAt":"2026-08-21T06:21:18.811Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}