Title: File is empty Error
Last modified: August 21, 2016

---

# File is empty Error

 *  Resolved [Manish](https://wordpress.org/support/users/nims/)
 * (@nims)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/file-is-empty-error/)
 * I am using front end posting … classipress theme. When I try to upload avatar
   image from front end as normal user I get this error.
    `File is empty. Please
   upload something more substantial. This error could also be caused by uploads
   being disabled in your php.ini or by post_max_size being defined as smaller than
   upload_max_filesize in php.ini.`
 * [http://wordpress.org/plugins/avatar-manager/](http://wordpress.org/plugins/avatar-manager/)

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

 *  Plugin Author [Cătălin Dogaru](https://wordpress.org/support/users/cdog/)
 * (@cdog)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074737)
 * Hi nims,
 * Thank you for reporting. Have you encountered the same issue with previous versions
   of the plugin? Does it work if you try to upload an avatar image from the [Users Your Profile Screen](http://codex.wordpress.org/Users_Your_Profile_Screen)?
 * Best regards,
    Cătălin
 *  Thread Starter [Manish](https://wordpress.org/support/users/nims/)
 * (@nims)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074756)
 * I am using this plugin for the first time so can’t tell about earlier versions.
   
   The access to WP backend is restricted to contributors. However, I tried to upload
   an avatar as an admin from backend for a contributor and it worked fine. The 
   results were visible on front end too.
 * So, essentially it is not working for Front End posting themes maybe.
 *  [marcel mihai](https://wordpress.org/support/users/marcel-mihai/)
 * (@marcel-mihai)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074772)
 * Hi, Catalin
    I used your plugin using classipress 3.3. and previous version of
   your plugin and it worked properly. But now, after I have upgraded both Classipress
   and Avatar Manager plugin, I receive the same error as nims.
 *  Plugin Author [Cătălin Dogaru](https://wordpress.org/support/users/cdog/)
 * (@cdog)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074794)
 * Hello,
 * The issue is caused by version 1.5.1 of Avatar Manager. Plugin scripts are conditionally
   loaded when the `IS_PROFILE_PAGE` constant is defined. The WordPress core defines
   it on user profile pages and most of the plugins that enable front-end user editing.
   As a temporary solution you could define it yourself in the Classipress profile
   template or use the previous version of the plugin.
 * Thank you,
    Cătălin
 *  [marcel mihai](https://wordpress.org/support/users/marcel-mihai/)
 * (@marcel-mihai)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074801)
 * Ok, using avatar manager 1.4.0. version of your plugin with classipress 3.3.1
   all is ok. Thanks, Catlin.
 *  [Henriquehcb](https://wordpress.org/support/users/henriquehcb/)
 * (@henriquehcb)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074861)
 * I am having the same problem, I need to add in my avatar genrenciador ClassiPress
   v3.3, but of this same error. What do I do?
 *  [robf](https://wordpress.org/support/users/robf/)
 * (@robf)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074966)
 * I’m getting the same problem in sites running Weaver Pro theme. Are you planning
   to release a new version of Avatar Manager which addresses the issue, rather 
   than people having to use an old version (possibly with other issues)? Thanks.
 *  Plugin Author [Cătălin Dogaru](https://wordpress.org/support/users/cdog/)
 * (@cdog)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074967)
 * Hello robf,
 * Thank you for reporting. This will be fixed with the next version of the plugin.
 * Best regards,
    Cătălin
 *  [robf](https://wordpress.org/support/users/robf/)
 * (@robf)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074996)
 * Any estimate of when version fixing above problem will be released? Thanks.

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

The topic ‘File is empty Error’ is closed to new replies.

 * ![](https://ps.w.org/avatar-manager/assets/icon-256x256.png?rev=1979607)
 * [Avatar Manager](https://wordpress.org/plugins/avatar-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/avatar-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/avatar-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/avatar-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/avatar-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/avatar-manager/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [robf](https://wordpress.org/support/users/robf/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/file-is-empty-error/#post-4074996)
 * Status: resolved