Title: Unknown error occured while uploading image
Last modified: September 5, 2016

---

# Unknown error occured while uploading image

 *  Resolved [yomisimie](https://wordpress.org/support/users/yomisimie/)
 * (@yomisimie)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unknown-error-occured-while-uploading-image/)
 * Any ideas why my images don’t upload? They don’t exceed the limit and i tried
   with png and jpeg but nothing worked, it just throws an Unknown error.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [bazingauser](https://wordpress.org/support/users/bazingauser/)
 * (@bazingauser)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unknown-error-occured-while-uploading-image/#post-8155770)
 * Hi, Do the debug and see what it shows for you? I have exactly the same issue:
   mine comes with
 * [7/9/2016 17:44:51] [wisechat.engines.AjaxEngine] [onMessageSentError] [responseText]
   <br /> <b>Notice</b>: getimagesize(): Read error! in <b>/home/web/public_html/
   wp-content/plugins/wise-chat-pro/src/services/WiseChatImagesService.php</b> on
   line <b>238</b><br /> {“error”:”Unsupported type of file.”}
    [7/9/2016 17:44:
   51] [wisechat.engines.AjaxEngine] [onMessageSentError] [errorThrown] Bad Request[
   7/9/2016 17:44:51] [wisechat.engines.AjaxEngine] [onMessageSentError] [exception]
   SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON 
   data
 * To do debug, go to settings – wise chat – Advanced – tick the debug,the go back
   to your chat window, try to send an image, wait for the error, then type in chat
   window ‘debug’ and press send. You will see your error message in a window bellow.
   
   I have been breaking my head to get this sorted, no luck yet. Also, what theme
   do you use? Regards
    -  This reply was modified 9 years, 9 months ago by [bazingauser](https://wordpress.org/support/users/bazingauser/).
 *  [bazingauser](https://wordpress.org/support/users/bazingauser/)
 * (@bazingauser)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unknown-error-occured-while-uploading-image/#post-8156270)
 * this is what I get when I try to upload image :
 * ![](https://lxskma.by3301.livefilestore.com/y3mJa_rWicym6hLI8Dzlrouv3d2Cw5p7R1Cb42-
   xucXewTd8FuTe1Pse_E9PHLkd429_4pMTJYo6wJ69lggHu-A2Q1_2_X1YhP9zLiQBR7uDse_MtQZi3EtP84xCZm9aI3flpDegWU5U6Qb1fsbETVaqxJpklBCZicQhL5vazbgIRQ?
   width=1243&height=769&cropmode=none)
 * ![](https://l3tviw.by3301.livefilestore.com/y3mrn2zZGwbdzfVViLix4c4EAKGvKYPI1MQEtXV7fN8e14S2HMI4u-
   4uexYqZXGzRYxDH4--wtMUGxPayJXac21BEVndz7p2_PZ6_uJ9LFov19Kudp48PSOXXjT301wg-KaRnmSCL4j9chyRz68PJ5kZ3ipPjCvYOHfhHuFsbKx7SQ?
   width=1341&height=914&cropmode=none)
 * ![](https://mhtviw.by3301.livefilestore.com/y3mHTKEGMSuoLz3_HbSU_QLXLqPLYngMloTK0nQ_BAagUfep-
   dTwBZp_amHXjdtLitJyHdF--k0lvbUaP25oIAb-qXB9Qy-YtgTZ7HnQKSRFT5FUXMjEzUGNJeZVR1Mm9SJOIixyMUXnEL1iAkycHZDNGEILhywfqV9cqk1sWr32wk?
   width=960&height=896&cropmode=none)
 * all extensions are enabled in wchat settings
 * ![](https://lnskma.by3301.livefilestore.com/y3mWge7a9snboulsnsGlh7JI554O5rQDKJgwOBHw-
   tT69dRWhqZ7MFO4944v2OEbGKYCX6ZcNMjqgP75qZ0UnXJFBG-2jVEinl4RBM2nG2N-JjvGLfCRSYCBpP7scjB_sJC9Wa8fh88wfUX8WsFbRN6uXFli_u65X5qg5w80hXMDGE?
   width=1508&height=776&cropmode=none)
 * ![](https://n3skma.by3301.livefilestore.com/y3ma42JEaxhWYSL2bTWRC89ZGCvtWjgl8hmXjfAJl-
   fj-BclVFJo_LPIyb0oEDqrTKaEf9AmwA_g3OotQfXAIlPejN76WRrOrkFDIhX3fiTkEpRBEyGm18Mi-
   M0K9OlmH7NYLdRSNn7YWo3Q0ppA8dVUetZbYTKR1HX-IqQlNu4PrE?width=1333&height=927&cropmode
   =none)
 * Thanks, regards
 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unknown-error-occured-while-uploading-image/#post-8176519)
 * Hi [@yomisimie](https://wordpress.org/support/users/yomisimie/) and [@bazingauser](https://wordpress.org/support/users/bazingauser/),
 * I see that some users report this kind of error from time to time and it is very
   difficult to find what is wrong. It is something with images processing on your
   server. Could you share a link to your website? I will try to find what is wrong.
   You can use contact form on my website if you don’t what to share it here
 * Thank you
 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/unknown-error-occured-while-uploading-image/#post-8184967)
 * Hi [@yomisimie](https://wordpress.org/support/users/yomisimie/) and [@bazingauser](https://wordpress.org/support/users/bazingauser/),
 * Please install Exif extension for PHP. It is very likely that this error is caused
   by missing Exif extension for PHP. The extension is used by Wise Chat to auto-
   rotate images containing orientation details.
 * I will fix this error in Wise Chat 2.4. In case of missing Exif extension the
   images won’t be auto-rotated , but also there will be no errors like this.
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Unknown error occured while uploading image’ is closed to new replies.

 * ![](https://ps.w.org/wise-chat/assets/icon-128x128.png?rev=1306481)
 * [Wise Chat](https://wordpress.org/plugins/wise-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wise-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wise-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/wise-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wise-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wise-chat/reviews/)

## Tags

 * [file](https://wordpress.org/support/topic-tag/file/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * 4 replies
 * 3 participants
 * Last reply from: [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/unknown-error-occured-while-uploading-image/#post-8184967)
 * Status: resolved