I don't know if it helps but I found that the problem comes when calling this function: in the class.upload.php of the /administartor/components/com_k2/lib. This is just a guess but it might be related to installation of the Imagemagick...
More