Support » Plugin: Smush Image Compression and Optimization » Automatic smushing has been disabled temporarily due to an error

  • Resolved xrampage16


    I would have added this comment to the existing post, but the previous thread had been closed.

    A couple of my clients were running into this problems while running this plugin, so I took a bit of time, and modified the code to not quit when an error is returned. Instead, it attempts to process the file three times, and if the response is still negative, then it will bypass that file, and move onto the next one.

    This was done, due to the bulk starting over from the beginning each time, instead of starting off after the previously failed file. In the current circumstance, I am fine with the file not being processed, but would still like all of the other files to still be pushed to the server so that they can be reduced in size.

    I do not see an ability to upload a file using this forum, so i have uploaded the file to my own server, and will provide a link.

    I have included two versions of the file. A patch, and a complete tar file of the existing plugin, so those that are familiar with applying a patch, can, and those who are not, can just upload the files on top of their existing /wp-content/plugins/wp-smushit/ folder.

    Hopefully this helps those of you that have run into this similar problem, and this is an accepting solution

    Links to Files

Viewing 1 replies (of 1 total)
  • Plugin Contributor Alex Dunae


    Awsome, thanks kindly for the patch. I’ve applied it in trunk and it will be part of the next release.

Viewing 1 replies (of 1 total)
  • The topic ‘Automatic smushing has been disabled temporarily due to an error’ is closed to new replies.