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: https://signatureretirementliving.com/property/pearl-and-pine/

  • Rupok

    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!
    Rupok

  • Umesh Kumar

    @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:

    https://premium.wpmudev.org/contact/
    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.