Closed Woeler closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
Thank you for the contribution @Woeler! And for your support for this package :pray: !
Do you have step to reproduce maybe? I'll have a look asap.
Thank you
Unfortunately I cannot reproduce it locally. One of our editors ran into the issue with a particular file on our live environment. I can reproduce the issue on the live environment with that particular file. But otherwise I cannot reproduce it, not even locally with the same file. It is very odd. However, the error does occur for some reason, so I suppose in time, it will occur for other users as well. The reasons for the error are beyond me though to be honest.
We ran into the issue that float values were passed to the crop function. This resulted in an error, as the crop function only wants integers. This PR fixes that. Below you can see the logged
$cropperData
that was passed into thecropImage
function on our live environment.Error