Duplicate XF 2.3b8 unable to upload jpg

gib

Well-known member
Affected version
XF 2.3b8
WEBP files are working fine, but get the following error when trying to upload a .jpg file in a thread post.

Also getting the same error in Media Gallery when uploading a jpg

TypeError: XF\Data\Exif::getExifTagName(): Argument #1 ($tagId) must be of type int, string given, called in /home/sites/27b/b/b9f39a7baf/public_html/src/XF/Data/Exif.php on line 18 in src/XF/Data/Exif.php at line 35
  1. XF\Data\Exif->getExifTagName() in src/XF/Data/Exif.php at line 18
  2. XF\Data\Exif->getExifData() in src/XF/Http/Request.php at line 1164
  3. XF\Http\Request->getFileExifData() in src/XF/Http/Request.php at line 1127
  4. XF\Http\Request->getFile() in src/XF/Pub/Controller/Attachment.php at line 88
  5. XF\Pub\Controller\Attachment->actionUpload() in src/XF/Mvc/Dispatcher.php at line 352
  6. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
  7. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  8. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  9. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2607
  10. XF\App->run() in src/XF.php at line 533
  11. XF::runApp() in index.php at line 20
 
Request state
array(4) {
["url"] => string(86) "/attachments/upload?type=post&context[node_id]=2&hash=3966835438c186997674d4a8e723ea34"
["referrer"] => string(49) "https://blah/forums/blog.2/post-thread"
["_GET"] => array(3) {
["type"] => string(4) "post"
["context"] => array(1) {
["node_id"] => string(1) "2"
}
["hash"] => string(32) "3966835438c186997674d4a8e723ea34"
}
["_POST"] => array(12) {
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["_xfExif"] => string(20) "{"undefined":"jpeg"}"
["flowChunkNumber"] => string(1) "1"
["flowChunkSize"] => string(10) "4294967296"
["flowCurrentChunkSize"] => string(5) "86062"
["flowTotalSize"] => string(5) "86062"
["flowIdentifier"] => string(12) "95452-ssnjpg"
["flowFilename"] => string(7) "ssn.jpg"
["flowRelativePath"] => string(7) "ssn.jpg"
["flowTotalChunks"] => string(1) "1"
}
}
Delete
 

 
Back
Top Bottom