Tamara-Jasmin
Active member
Hello,
I and some users have problems uploading pictures.
Many pictures bring the following error message:
When I delete the exif data it works.
It probably only affects photos with Exif data.
LG: Tammy
I and some users have problems uploading pictures.
Many pictures bring the following error message:
InvalidArgumentException: Failed to convert to JSON. Error: Malformed UTF-8 characters, possibly incorrectly encoded [exif_data] in src/XF/Mvc/Entity/Entity.php at line 740
- XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 618
- XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 548
- XF\Mvc\Entity\Entity->__set() in src/addons/XFMG/Service/Media/TempCreator.php at line 108
- XFMG\Service\Media\TempCreator->setExif() in src/addons/XFMG/Attachment/Media.php at line 138
- XFMG\Attachment\Media->onNewAttachment() in src/XF/Service/Attachment/Preparer.php at line 232
- XF\Service\Attachment\Preparer->insertTemporaryAttachment() in src/XF/Service/Attachment/Preparer.php at line 24
- XF\Service\Attachment\Preparer->insertAttachment() in src/XF/Attachment/Manipulator.php at line 170
- XF\Attachment\Manipulator->insertAttachmentFromUpload() in src/XF/Pub/Controller/Attachment.php at line 88
- XF\Pub\Controller\Attachment->actionUpload() in src/XF/Mvc/Dispatcher.php at line 321
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 248
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
- XF\App->run() in src/XF.php at line 390
- XF::runApp() in index.php at line 20
When I delete the exif data it works.
It probably only affects photos with Exif data.
LG: Tammy