After debugging a few days ago, it seems like this 3rd party plugin System - EIR - Easy Image Resizer causing the system unable to retrieve the EXIF data from the image.
I already disabled this plugin, it shouldn't rotate the image when you uploaded, can you give it a check again is it work fine now?
If you would like to continue use this 3rd party plugin, it would be best if you can consult with this plugin provider and see how it goes.
You can share with them when we call this PHP function
exif_read_data, it won't retrieve those EXIF data, this is what i retrieve :
$data = @exif_read_data($file, $sections, $this->sectionsAsArrays, $this->includeThumbnail);
array(7) {
["FileName"]=>
string(9) "phpu0BmZk"
["FileDateTime"]=>
int(1496684675)
["FileSize"]=>
int(981939)
["FileType"]=>
int(2)
["MimeType"]=>
string(10) "image/jpeg"
["SectionsFound"]=>
string(0) ""
["COMPUTED"]=>
array(4) {
["html"]=>
string(26) "width="3088" height="2320""
["Height"]=>
int(2320)
["Width"]=>
int(3088)
["IsColor"]=>
int(1)
}
}
If I disabled your plugin, this is what we exactly EXIF data we need to retrieve :
array(65) {
["FileName"]=>
string(11) "phpE46E.tmp"
["FileDateTime"]=>
int(1496684751)
["FileSize"]=>
int(1295418)
["FileType"]=>
int(2)
["MimeType"]=>
string(10) "image/jpeg"
["SectionsFound"]=>
string(35) "ANY_TAG, IFD0, THUMBNAIL, EXIF, GPS"
["COMPUTED"]=>
array(8) {
["html"]=>
string(26) "width="3088" height="2320""
["Height"]=>
int(2320)
["Width"]=>
int(3088)
["IsColor"]=>
int(1)
["ByteOrderMotorola"]=>
int(1)
["ApertureFNumber"]=>
string(5) "f/2.2"
["Thumbnail.FileType"]=>
int(2)
["Thumbnail.MimeType"]=>
string(10) "image/jpeg"
}
["Make"]=>
string(5) "Apple"
["Model"]=>
string(8) "iPhone 7"
["Orientation"]=>
int(6)
["XResolution"]=>
string(4) "72/1"
["YResolution"]=>
string(4) "72/1"
["ResolutionUnit"]=>
int(2)
["Software"]=>
string(6) "10.3.2"
["DateTime"]=>
string(19) "2017:05:29 21:09:46"
["YCbCrPositioning"]=>
int(1)
["Exif_IFD_Pointer"]=>
int(206)
["GPS_IFD_Pointer"]=>
int(1580)
["THUMBNAIL"]=>
array(6) {
["Compression"]=>
int(6)
["XResolution"]=>
string(4) "72/1"
["YResolution"]=>
string(4) "72/1"
["ResolutionUnit"]=>
int(2)
["JPEGInterchangeFormat"]=>
int(1984)
["JPEGInterchangeFormatLength"]=>
int(13387)
}
["ExposureTime"]=>
string(4) "1/17"
["FNumber"]=>
string(4) "11/5"
["ExposureProgram"]=>
int(2)
["ISOSpeedRatings"]=>
int(400)
["ExifVersion"]=>
string(4) "0221"
["DateTimeOriginal"]=>
string(19) "2017:05:29 21:09:46"
["DateTimeDigitized"]=>
string(19) "2017:05:29 21:09:46"
["ComponentsConfiguration"]=>
string(4) ""
["ShutterSpeedValue"]=>
string(9) "5837/1438"
["ApertureValue"]=>
string(9) "7983/3509"
["BrightnessValue"]=>
string(9) "-965/5729"
["ExposureBiasValue"]=>
string(3) "0/1"
["MeteringMode"]=>
int(5)
["Flash"]=>
int(16)
["FocalLength"]=>
string(7) "287/100"
["MakerNote"]=>
string(826) "Apple iOSMM
.�h� � �
" bplist00O�fA>#*%$�A.t����ea�JK1C�LNe�t���d���S^����Q����^�Xt2`���p|�����d�Q$g��f"k$�*$�u�RD�`Rn�YbG���K$a���a�wQ�����8-������f�p�fO)�2���(��f�65�����SWm\n�6;I�����ZjC�uW37pI(68@97GG�l�Z[�_8�LY~If�� TUnX2(5$G�7���5RS�G0\%gt���
GNR��f�*!PZa���Gbplist00�UflagsUvalueUepochYtimescale��$�;��#-/8: ?�'���% *�A"
["SubSecTimeOriginal"]=>
string(3) "701"
["SubSecTimeDigitized"]=>
string(3) "701"
["FlashPixVersion"]=>
string(4) "0100"
["ColorSpace"]=>
int(65535)
["ExifImageWidth"]=>
int(3088)
["ExifImageLength"]=>
int(2320)
["SensingMethod"]=>
int(2)
["SceneType"]=>
string(1) ""
["ExposureMode"]=>
int(0)
["WhiteBalance"]=>
int(0)
["FocalLengthIn35mmFilm"]=>
int(32)
["SceneCaptureType"]=>
int(0)
["UndefinedTag:0xA432"]=>
array(4) {
[0]=>
string(7) "287/100"
[1]=>
string(7) "287/100"
[2]=>
string(4) "11/5"
[3]=>
string(4) "11/5"
}
["UndefinedTag:0xA433"]=>
string(5) "Apple"
["UndefinedTag:0xA434"]=>
string(34) "iPhone 7 front camera 2.87mm f/2.2"
["GPSLatitudeRef"]=>
string(1) "N"
["GPSLatitude"]=>
array(3) {
[0]=>
string(4) "47/1"
[1]=>
string(4) "15/1"
[2]=>
string(8) "5912/100"
}
["GPSLongitudeRef"]=>
string(1) "E"
["GPSLongitude"]=>
array(3) {
[0]=>
string(4) "11/1"
[1]=>
string(4) "26/1"
[2]=>
string(8) "5436/100"
}
["GPSAltitudeRef"]=>
string(1) ""
["GPSAltitude"]=>
string(8) "43403/77"
["GPSTimeStamp"]=>
array(3) {
[0]=>
string(4) "19/1"
[1]=>
string(3) "9/1"
[2]=>
string(8) "4113/100"
}
["GPSSpeedRef"]=>
string(1) "K"
["GPSSpeed"]=>
string(3) "0/1"
["GPSImgDirectionRef"]=>
string(1) "T"
["GPSImgDirection"]=>
string(10) "12953/1752"
["GPSDestBearingRef"]=>
string(1) "T"
["GPSDestBearing"]=>
string(8) "16678/89"
["GPSDateStamp"]=>
string(10) "2017:05:29"
["UndefinedTag:0x001F"]=>
string(4) "65/1"
}