Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing images in CP throws error: Assignment to constant variable. #85

Open
benfeather opened this issue Sep 11, 2024 · 1 comment
Open

Comments

@benfeather
Copy link

Describe the bug

When I try to resize an image that has already been uploaded to Craft (either through Settings > Image Resizer > Resize Bulk or through the assets section) I get an error logged to the browser console:

CleanShot 2024-09-11 at 12 43 16@2x

This site is using Craft cms' official Google Cloud Storage adapter.

Steps to reproduce

  1. Go to Settings > Image Resizer > Resize Bulk
  2. Click Bulk Resize next to and image folder (with the dev tools open)

Craft CMS version

5.4.2

Plugin version

4.0.1

Multi-site?

Yes

Additional context

No response

@engram-design
Copy link
Member

Fixed for the next release. To get this early, run composer require verbb/image-resizer:"dev-craft-5 as 4.0.1".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants