Missing metadata leads to division by zero error
-
Hi there, we just observed a “bug”: If the attachment metadata is missing, the function gcd in your plugin gets called with a zero as a parameter and then tries to divide by zero – which of course doesn’t work. it then throws an error.
I think it should prevent a divison by zero and instead show a warning, that the image metadata is missing (or try to generate it on your own?)
You must be logged in to reply to this topic.