Closed benface closed 5 years ago
'transformer' => 'imgix', 'useForNativeTransforms' => true, 'imgixProfile' => 'default', 'imgixApiKey' => getenv('IMGIX_API_KEY'), 'imgixConfig' => [ 'default' => [ 'domains' => ['yourdomain.imgix.net'], 'signKey' => getenv('IMGIX_SIGN_KEY'), ], ],
test
{{ craft.app.assets.getAssetUrl(craft.assets.one(), craft.app.assetTransforms.getTransformByHandle('test')) }}
Expected result: No error. Actual result:
yii\base\ErrorException: rawurlencode() expects parameter 1 to be string, array given in /Users/benface/Desktop/Freelance/project/vendor/imgix/imgix-php/src/Imgix/UrlHelper.php:74
This was fixed in v2.1.10, thanks for reporting!
Wow! That was quick. Thank you very much!
Repro steps
test
transform in the CP, with any settings.Expected result: No error. Actual result: