You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
craft\services\Images::loadImage(): Argument #3 ($svgSize) must be of type int, null given, called in /imagetransforms/ImageTransformer.php on line 668
I can provide access to a staging instance through email if needed or a video capture.
Steps to reproduce
Base Craft install with Servd assets platform V3
User tried to crop an asset
Expected behavior
Cropped image is saved.
Actual behavior
Error throw
Craft CMS version
Craft Pro 4.5.9
PHP version
8.2.10
Operating system and version
Servd Platform - Linux distro but not sure which one
Database type and version
Mysql 8
Image driver and version
GD 8.2.10 locally but assume Servd is using Imagemagick
Installed plugins and versions
Feed Me | 5.2.0
Neo | 3.9.8
Postmark | 3.0.0
Redactor | 3.0.4
Retour | 4.1.14
SEOmatic | 4.0.33
Servd Assets and Helpers | 3.5.2
Super Table | 3.0.12
The text was updated successfully, but these errors were encountered:
This will happen if the asset width and height are set to null in the database. That, in turn, can happen if, e.g. the image is too large for ImageMagick to handle (for example, like described here: #13687).
You could run asset reindexing (Control Panel > Utilities > Asset Indexes or via terminal) to attempt to get the right sizes for the images.
I raised a PR to make this code a bit more forgiving, and I’ll be looking at #13687 to try to improve dimension detection and storage.
What happened?
Description
I can provide access to a staging instance through email if needed or a video capture.
Steps to reproduce
Expected behavior
Cropped image is saved.
Actual behavior
Error throw
Craft CMS version
Craft Pro 4.5.9
PHP version
8.2.10
Operating system and version
Servd Platform - Linux distro but not sure which one
Database type and version
Mysql 8
Image driver and version
GD 8.2.10 locally but assume Servd is using Imagemagick
Installed plugins and versions
Feed Me | 5.2.0
Neo | 3.9.8
Postmark | 3.0.0
Redactor | 3.0.4
Retour | 4.1.14
SEOmatic | 4.0.33
Servd Assets and Helpers | 3.5.2
Super Table | 3.0.12
The text was updated successfully, but these errors were encountered: