-
Notifications
You must be signed in to change notification settings - Fork 635
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
Imagine is incompatible with Imagick 3.5.0 #8095
Comments
We just released an update to Thanks for reporting! |
Hi @brandonkelly , I came across the same issue mentioned (using PHP 8.0.x, Imagick 3.5.0, and Craft 3.6.14)
I have updated Craft to the latest 3.7.4 but now get the following error when trying to upload a JPG, if I upload an MP4, PDF, PNG they will upload fine.
Application Info
|
@tonyclemmey Have you tried running |
@brandonkelly not long after I ran the |
Description
Imagick 3.5 was just released with PHP 8 support; however, it introduced a breaking change in some method signatures. Parameters are now explicitly typed and thus incompatible with the Imagine classes that are extending the \Imagick classes.
See new method signatures here:
https://github.com/Imagick/imagick/blob/6fb660ec492834a546c7cc383a29ea3ce5b5cf17/Imagick.stub.php#L472
This is particularly problematic as automated provisioning tools that aren't locked to a specific version will grab the latest release and cause an error like this in Craft:
Additional info
The text was updated successfully, but these errors were encountered: