Title: Errors
Last modified: September 1, 2016

---

# Errors

 *  Resolved [webrenz](https://wordpress.org/support/users/webrenz/)
 * (@webrenz)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/errors-140/)
 * Hi guys,
    Plugin is working like a charm, except for the following error-messages
   I recieve after succesfully uploading a picture.
 * **1.jpgis not a valid file.**
 * You must select a file to upload
 * Help.. anybody?
 * [https://wordpress.org/plugins/nextgen-public-uploader/](https://wordpress.org/plugins/nextgen-public-uploader/)

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

 *  Plugin Author [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 11 months ago](https://wordpress.org/support/topic/errors-140/#post-7497819)
 * have you tried other jpg files? Also do you know whether or not your site has
   some customizations around file uploads at all?
 *  Thread Starter [webrenz](https://wordpress.org/support/users/webrenz/)
 * (@webrenz)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/errors-140/#post-7497873)
 * Hi Michael,
 * Thanks for your input. I tried different jpg. files but everytime i get the same
   notifications. But: everytime the jpg succesfully uploads to the corresponding
   Gallery! So I see the images in my gallery, the upload function works but I just
   can’t seem to get rid of the notifications..
 * You can try it for yourself here: [http://www.roeienzeil.nl/upload-roer/](http://www.roeienzeil.nl/upload-roer/)
 *  Plugin Author [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [9 years, 11 months ago](https://wordpress.org/support/topic/errors-140/#post-7497911)
 * this is the line that determines if the error is shown:
 *     ```
       if ( !in_array( $filepart['extension'], $ext ) || !@getimagesize( $temp_file ) )
       ```
   
 * I’m assuming, at this point, that it’s the getimagesize() that’s returning false
   in this case. However, I have no way of knowing why.

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

The topic ‘Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextgen-public-uploader_544d49.svg)
 * [NextGEN Public Uploader](https://wordpress.org/plugins/nextgen-public-uploader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-public-uploader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-public-uploader/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-public-uploader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-public-uploader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-public-uploader/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/errors-140/#post-7497911)
 * Status: resolved