Skip to content

ExifMetadataReader.php error in MODx Logs with PNG images #33

@pixelstuff

Description

@pixelstuff

In MODx 3.0.4 and PHP 8.1 I'm getting error messages whenever a PNG image is trying to be resized by pThumb. MODx 2.85 with PHP 8.0 doesn't show the following errors.

ROOTFOLDER/core/components/resizer/model/vendor/imagine/imagine/lib/Imagine/Image/Metadata/ExifMetadataReader.php : 97) PHP warning: exif_read_data(image.png): File not supported

ALSO, in case this is related, the site has plenty of JPG images, but I have a single jpg image generating this error message.

ROOTFOLDER/core/components/resizer/model/vendor/imagine/imagine/lib/Imagine/Image/Metadata/ExifMetadataReader.php : 97) PHP warning: exif_read_data(image.jpg): Incorrect APP1 Exif Identifier Code

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