Title: Unexpected error when uploading
Last modified: August 30, 2016

---

# Unexpected error when uploading

 *  Resolved [wickedninja](https://wordpress.org/support/users/wickedninja/)
 * (@wickedninja)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/unexpected-error-when-uploading/)
 * Hi,
 * I am using the nextgen-gallery-plugin for about 2 years now, the upload stopped
   working a few months ago, figured it would work again with the next update. Sadly,
   it didn’t.
 * I get the following error message when I try to upload pictures with nextgen-
   gallery:
 * > “An unexpected error occured. This is most likely due to a server misconfiguration.
   > Check your PHP error log or ask your hosting provider for assistance.
   >  0 images
   > were uploaded”
 * .
 * When i upload the images directly to the FTP into existing gallery-directories,
   and search for new images in the plugin, it works, but not with direct upload
   via wordpress.
 * Plugin and WordPress-Installation are up-to-date. Also deactivated all other 
   plugins, still got the same error-message.
 * Is there anything else i could check?
 * Thanks,
    Martin
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/unexpected-error-when-uploading/#post-6616490)
 * [@wickedninja](https://wordpress.org/support/users/wickedninja/) – Generally 
   this would be pointing to a permissions issue but since you noted it was working
   previously that is not likely the case.
 * Although you appear to have checked for plugin conflicts, it could still be a
   plugin remnant or artifact causing the conflict; do you use any security plugins
   and/or caching plugins that might leave things behind when they are only deactivated?
 * Otherwise, do you recall what has changed on your site since the upload process
   last worked?
 * – Cais.
 *  Thread Starter [wickedninja](https://wordpress.org/support/users/wickedninja/)
 * (@wickedninja)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-error-when-uploading/#post-6616756)
 * Hi Cais,
 * thank you for you support, didn’t work. After completely deinstalling wordpress
   and reinstalling it, nextgen-gallery works fine again.
 * Best regards,
    Martin
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-error-when-uploading/#post-6616757)
 * [@wickedninja](https://wordpress.org/support/users/wickedninja/) – Thanks for
   the update!
 * – Cais.

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

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

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-error-when-uploading/#post-6616757)
 * Status: resolved