smushit error when file not on server

I am hosting with WPengine and largeFS set up to move my images off the server and onto Amazon S3. It seems that there is an error with the get_file_type function when the file is not on the server, it returns an error.

class-wp-smush-nextgen.php on line 88

That is, I am using nextgen gallery plugin and the thumbnails are not showing up because of this error.

see example:

  • Rupok
    • Support Ninja

    Hi Hagai

    Hope you had a wonderful day.

    I just checked the code around line 88 of the file you mentioned. It seems “get_file_type” function takes the file path as parameter and when file path is not available, it returns Boolean false. As you said “I am hosting with WPengine and largeFS set up to move my images off the server and onto Amazon S3”, there could be something related with file path which is probably blocking the process.

    However, our developer can tell you best about this so I’m flagging him here for his valuable opinion.

    Please keep in mind, our developers work round the clock and they have to deal with lots of critical issues and other things. So it may take a little while for them to check this and give feedback.

    Have a nice day. Cheers!


  • Umesh Kumar
    • Code Wrangler

    @hagai, Can you please enable support access, so that I can check and fix the issue temporarily, until the next release is available.

    Or If you could please send me the login details on email instead, so that I can easily make the required changes.

    You can go to:

    On the contact form, select “I have a different question

    Can you please send in:

    – In the subject field add “Attn: Umesh Kumar”

    – Link back to this thread

    Include WordPress administrator login

    – Include FTP

    – Include any relevant URLS for your site

    this ensures it comes through and gets assigned to me.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.