I have had this ongoing issue while uploading and trying to re-smush any PNG, no matter what size.
Every time I try it times out, or even sometimes gives me a “504 Gateway Error” not a 404. Again, this happens only with PNGs, and I can bulk smush JPGs perfectly fine.
It smushed all of my PNG files successfully with that link.
Thank you for your reply.
Can you try enabling WP_DEBUG mode and debug logging? To do this, just go to wp-config.php include this:
You might already have a line for WP_DEBUG, so just make sure it’s set to true. This will create a log file under wp-content/debug.log with detailed information.
Let me know what errors if any you are getting when smushing PNG images.
The reason I tried a blk smush was doing a smush on any single image in the media library will throw a 504 Gateway Timeout. Also, this end-results in flagging my image as smushed with No Savings. See this image: No Savings Flag
The debug log has no values regarding smush it, only a few notices for my theme.
Hi there @aschx
Hope your well today and thanks for the additional information.
Could you send me one of the actual png images your trying to smush please?
If that’s possible please send to contact(at)wpmudev.org with the subject line Attn: Jack Kitterhing
I have submitted the email with one of the PNGs I am trying to smush.
Hi there @aschx,
Hope your well today.
I have just checked this image and for me it is smushing correctly.
I’ve forwarded this to the lead developer to take a look, appreciate your patience here 🙂
Hi there @aschx, Just reading parts of this thread to get caught up on the issue.
What version of WordPress? Multisite ore regular?
What other plugins are you running? Specifically, what other plugins might be also trying to filter media items?
Are you seeing the error both when uploading new images as well as bulk smash.it actions on existing images?
Try this. Go to Settings > Media on that page you will see a section for Smush.it. There is a checkbox to enable debug mode. This will output some details on the plugin API communication with Yahoo. Save the settings.
Next go to Media > Library. Find a PNG item in the listing which has not be processed via Smush.it. Set the checkbox in the first column of that row. Above the listing is the actions drop down. From the drop down select Bulk Smush.it then click the ‘Apply’ button next to it. This will bulk smush a single image.
You will see some debug output like the following
Also, I enabled auo-smush.it on upload and get the same success results.
More then likely this is something with your specific server or WordPress configuration. As we are not seeing the same errors when attempting to process the same image.
We haven’t heard from you in awhile, so I just wanted to check in to make sure all was good.
This thread was marked resolved, but please, if you still need help then just respond and open it back up. We can then take it from there. 🙂
Hope you have a fantastic day!
- The topic ‘PNGs constantly Timing Out’ is closed to new replies.