Skip to content

Resizer + ImageMagick 7 Fatal Error #27

@davidpede

Description

@davidpede

Have a site that was recently upgraded to ImageMagick 7. Using pThumb with Resizer enabled, every page on the site returned a 500 error due to:

PHP Fatal error: Uncaught Error: Undefined class constant 'COLOR_OPACITY' in /components/resizer/model/vendor/sepiariver/reductionist/src/Reductionist/Imagick/RImagine.php:36

Seems 'COLOR_OPACITY' doesn't exist in v7: https://www.php.net/manual/en/imagick.constants.php#122744. Disabling Resizer resolved the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions