What version where you using before?
What version of PHP?
Basically the only difference between the functions now and before is instead of everything having to have yes or no declared we convert variables yes and no to 0 or 1 which is php true false elements so variables can be declared like $variable or !$variable instead of the old style $variable = "yes" or $variable = "no".
The error your noting is because the image is not coming back as an acceptible image type.
I can not replicate this error but will see if I can try and track things down. I do not expect a quick answer on this if there is an PHP issue maybe a PHP bug.
Literally in over a year we have had one person report an upload issue and he upgraded his PHP so there was never anything to investigate as a result.