SO I\'m getting this error when trying to upload an image.
the code part is here
if (exif_imagetype($_FILES["site_logo"]["tmp_name"