Title: html error when uploading files
Last modified: January 31, 2019

---

# html error when uploading files

 *  Resolved [gusdoyle](https://wordpress.org/support/users/gusdoyle/)
 * (@gusdoyle)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-error-when-uploading-files/)
 * I experienced an “html error” when trying to upload media to the gallery. I disabled
   the Wordfence plugin and then files uploaded perfectly. Wordfence ver 7.1.20,
   WordPress ver 5.0.3.

Viewing 1 replies (of 1 total)

 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/html-error-when-uploading-files/#post-11156074)
 * Hi [@gusdoyle](https://wordpress.org/support/users/gusdoyle/),
 * This seems to be caused by running low on memory. Can you let me know how much
   memory your host allocates to your instance?
 * It could also be that Wordfence is blocking the upload, so you can also check
   Wordfnece -> Tools -> Live Traffic, to see if that’s the case.
 * Dave

Viewing 1 replies (of 1 total)

The topic ‘html error when uploading files’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfdave](https://wordpress.org/support/users/wfdave/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/html-error-when-uploading-files/#post-11156074)
 * Status: resolved