Skip to content

php 8 - not saving to cache #72

@RuthEd

Description

@RuthEd

After upgrading to php 8 (modx 2.84 or 3.0 or 3.01), I'm getting the following error - the images are all showing up on the page, but the cache is empty. All was working fine on php7.4. Any ideas?

[2022-06-04 16:33:17] (ERROR @ /homepages/[account-num]/htdocs/core/components/phpthumbof/model/phpthumbof.class.php : 156) [pThumb] Resource: 1 || Image: assets/images/header-new-17.jpg
Could not cache thumbnail to file at: /homepages/[account-num]/htdocs/assets/image-cache/header-new-17.c86d3627.jpg
Resizer debug output:
[0] => Resizer v1.0.1
[1] => Using GD
[2] => Input file: assets/images/header-new-17.jpg
[3] => Input options:
'f' => 'jpeg'
[4] => *** Error *** Unable to open image assets/images/header-new-17.jpg

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