Title: Error Uploading Avatars
Last modified: August 21, 2016

---

# Error Uploading Avatars

 *  [myvancity](https://wordpress.org/support/users/myvancity/)
 * (@myvancity)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/)
 * Hello,
    Recently when uploading files through the Profile Screen & WP User Avatar
   it fails with message: An error occurred in the upload. Please try again later.
   Going back to choose image that upload failure turns out to actually upload and
   is available for selection. Just wanted to point it out, it’s not halting but
   is a nuisance. Thank you.
 * [https://wordpress.org/plugins/wp-user-avatar/](https://wordpress.org/plugins/wp-user-avatar/)

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/error-uploading-avatars/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-uploading-avatars/page/2/?output_format=md)

 *  [Bangbay Siboliban](https://wordpress.org/support/users/bangbay/)
 * (@bangbay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670380)
 * Does this happen for you as an Administrator or as a Contributor/Subscriber?
 *  Thread Starter [myvancity](https://wordpress.org/support/users/myvancity/)
 * (@myvancity)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670383)
 * Hi Bangbay, it happens with both types of accounts. Thanks
 *  [Bangbay Siboliban](https://wordpress.org/support/users/bangbay/)
 * (@bangbay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670390)
 * Have you noticed this error when uploading images for your posts or directly 
   to the Media Library? It honestly sounds like a server issue and not a particular
   issue with my plugin.
 *  [nightbook](https://wordpress.org/support/users/nightbook/)
 * (@nightbook)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670458)
 *  Thread Starter [myvancity](https://wordpress.org/support/users/myvancity/)
 * (@myvancity)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670459)
 * Hi Bangbay,
    I have no issue when uploading to the Media Library in any other
   fashion either direct or through Posts/Pages. It’s only when going to upload 
   through the Choose Image option on my profile which is added by WP User Avatar.
   Sorry sadly it’s not that simple. Thank you for your help Cheers
 *  [Bangbay Siboliban](https://wordpress.org/support/users/bangbay/)
 * (@bangbay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670463)
 * For Contributors/Subscribers, are you using the uploader that is part of my plugin(
   it’s a button that says Upload)? Have you modified any user role privileges?
 *  Thread Starter [myvancity](https://wordpress.org/support/users/myvancity/)
 * (@myvancity)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670466)
 * Thanks Bangbay,
    For Admin, if I go to Choose Image for a user profile and upload
   i get the failure. For Subscribers/Contributors, if I login and go to Profile
   and Choose Image I get the same failure. There is no ‘Upload’ button sorry. WP
   3.8.1 Plugin WP User Avatar 1.8.2 Sorry nothing else on Debug bar or anything
   to help. Appreciate you looking into it. Cheers
 *  [Bangbay Siboliban](https://wordpress.org/support/users/bangbay/)
 * (@bangbay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670545)
 * If you’re not seeing an Upload button as a Subscriber/Contributor and instead
   seeing the Choose Image button, then those user roles have been modified to have
   the `upload_files` privilege. However, in order for the Media Library uploader
   to work correctly, you need to give those roles some other privileges. That’s
   why I use a simple uploader for Subscribers/Contributors through my plugin.
 * What other plugins do you have active?
 *  Thread Starter [myvancity](https://wordpress.org/support/users/myvancity/)
 * (@myvancity)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670546)
 * Thanks Bangbay,
    I do have the User Role Editor enabled and have given them the
   ability to upload Media. What additional privileges do I need to give them to
   enable your plugin. Appreciated, Cheers
 *  [Bangbay Siboliban](https://wordpress.org/support/users/bangbay/)
 * (@bangbay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670570)
 * I’ve issued fixes in version 1.8.5 that I think should address these issues. 
   As for using the Media Uploader with my plugin, the user needs at least Author-
   level privileges, which are “edit_published_posts”, “upload_files”, “publish_posts”,
   and “delete_published_posts.” If you’re going to give Subscribers/Contributors
   these privileges, I would argue that you should just make them Authors. However,
   if you’ve only given them the “upload_files” privilege, they will see a simple
   uploader instead of the Media Uploader in the latest version of my plugin because
   I now check for all four privileges.
 *  Thread Starter [myvancity](https://wordpress.org/support/users/myvancity/)
 * (@myvancity)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670571)
 * Thanks Bangbay,
    Yes I only want to enable them with upload_files so we can keep
   our post approval. I went through the latest update and see the basic uploader,
   looks great, however when I do upload an image it breaks the Profile page. The
   end of the html looks like the following; <table class=”form-table”> <tbody><
   tr> <th><label for=”wp_user_avatar”>Image</label></th> <td> <input type=”hidden”
   value=”4886″ id=”wp-user-avatar” name=”wp-user-avatar”> </td></tr></tbody></table
   > and then nothing else after even the copywrite is gone so presuming it’s missing
   a trailing tag or something?
 * Thanks
 *  Thread Starter [myvancity](https://wordpress.org/support/users/myvancity/)
 * (@myvancity)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670572)
 * Going to the admin Users tab and looking at that user which I did an upload for
   the new image is there.
    But the original issue still pertains on the admin Users
   profiles going to Choose Image on any of them from an administrator gives the
   error: An error occurred in the upload. Please try again later. Let me know what
   I can get you to help troubleshoot. Thank you
 *  [Haitham](https://wordpress.org/support/users/hsabbah/)
 * (@hsabbah)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670573)
 * The latest update broke something. I’m admin, and when I try to save after making
   any changes I get error : Fatal error:
 * Call to undefined function wpua_is_author_or_above() in /home/xxxxxxxx/wp-content/
   plugins/wp-user-avatar/includes/class-wp-user-avatar.php on line 162
 *  Thread Starter [myvancity](https://wordpress.org/support/users/myvancity/)
 * (@myvancity)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670599)
 * Hi Bangbay,
    Thanks for the latest update it’s corrected the issue breaking the
   rest of the profile so hoping it also corrects [@hsabbah](https://wordpress.org/support/users/hsabbah/)’
   s issue. Seems we’ve made some headway as it’s now functioning properly for Contributors
   even with them having the upload_media capability. All that seems to remain broken
   is when the admin goes to edit a User and set their profile, he goes to Choose
   Image and uploades through the Media Library but it gives the error:
 * >  Error 1468546_1010…774058_n.jpg
   >  An error occurred in the upload. Please try
   > again later.
 * The image still uploads but I have to close and reopen the window for it to show
   in the uploader.
    Let me know how I can continue this debug process with you.
   Thank you
 *  [Bangbay Siboliban](https://wordpress.org/support/users/bangbay/)
 * (@bangbay)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-uploading-avatars/#post-4670604)
 * [@myvancity](https://wordpress.org/support/users/myvancity/) – What other plugins
   do you have active?

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/error-uploading-avatars/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-uploading-avatars/page/2/?output_format=md)

The topic ‘Error Uploading Avatars’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-avatar/assets/icon-256x256.png?rev=2532486)
 * [Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress](https://wordpress.org/plugins/wp-user-avatar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-avatar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-avatar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-avatar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-avatar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-avatar/reviews/)

 * 24 replies
 * 7 participants
 * Last reply from: [myvancity](https://wordpress.org/support/users/myvancity/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/error-uploading-avatars/page/2/#post-4670763)
 * Status: not resolved