selected image(s) could not be compressed.
-
Hi, I was trying to do bulk image compression.
But it’s showing that error https://prnt.sc/1vkmlb8Logfile: https://pastebin.com/e65e1Pp1
-
@faisal95bd There seems to be inconsistent connection between your site and resmush server, could you please try to compress the images again and check if it works?
I’ve selected just one image now but still the issue exists https://prnt.sc/1vo3ak6
That’s the log:
[2021-10-11 05:52:59 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:53:56 : INFO] - Re_Smush_It_Task server status: Online [2021-10-11 05:53:58 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:53:58 : INFO] - [2021-10-11 05:53:58 : INFO] - Header for logs at time: Mon, 11 Oct 2021 05:53:58 +0000 on https://yaquby.com [2021-10-11 05:53:58 : INFO] - WP: 5.8.1 [2021-10-11 05:53:58 : INFO] - PHP: 7.2.34 (fpm-fcgi, Linux server.yaquby.com 4.14.241-184.433.amzn2.x86_64 #1 SMP Wed Aug 4 14:35:15 UTC 2021 x86_64) [2021-10-11 05:53:58 : INFO] - MySQL: 5.5.5 [2021-10-11 05:53:58 : INFO] - WPLANG: en_US [2021-10-11 05:53:58 : INFO] - Server: Apache/2.4.48 () OpenSSL/1.0.2k-fips [2021-10-11 05:53:58 : INFO] - Outbound connections: N [2021-10-11 05:53:58 : INFO] - safe_mode: 0 [2021-10-11 05:53:58 : INFO] - max_execution_time: 300 [2021-10-11 05:53:58 : INFO] - memory_limit: 512M (used: 107.4M | 68.5M) [2021-10-11 05:53:58 : INFO] - multisite: N [2021-10-11 05:53:58 : INFO] - openssl: OpenSSL 1.0.2k 26 Jan 2017 [2021-10-11 05:53:58 : INFO] - A total of 1 tasks of type smush found and will be processed in this iteration [2021-10-11 05:53:58 : INFO] - Set semaphore last lock (smush) time to 2021-10-11 05:53:58 [2021-10-11 05:53:58 : INFO] - Semaphore lock (smush) complete [2021-10-11 05:53:58 : INFO] - Processing task with ID : 5112, and type 'smush' [2021-10-11 05:53:58 : INFO] - Task with ID 5112 and type (smush) failed with error code invalid_file_type - /var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/M26.7.JPG - cannot be optimized, it has an invalid file type [2021-10-11 05:53:58 : INFO] - Decremented the semaphore (smush) by 1 [2021-10-11 05:53:58 : INFO] - Semaphore (smush) unlocked [2021-10-11 05:53:58 : INFO] - Successfully processed the queue (smush). 1 tasks were processed out of 1. [2021-10-11 05:53:58 : INFO] - Semaphore (smush, ivecom2_options) was successfully cleaned up [2021-10-11 05:53:58 : INFO] - Cleaning up tasks of type (smush). A total of 1 tasks will be deleted. [2021-10-11 05:54:02 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:54:05 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:54:07 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:54:08 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:54:10 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:54:11 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:54:13 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG [2021-10-11 05:54:15 : INFO] - Could not find file for image: ID=15406, file=/var/www/html/www.yaquby.com/htdocs/wp-content/uploads/2021/07/09649.3-e1632235654809.JPG
-
This reply was modified 3 years, 5 months ago by
faisal95bd.
Have you performed a conflict test yet?
Try deactivating all plugins except for WP-Optimize and see if it is resolved.
If so, reactivate each plugin one at a time until you find the culprit. You can check for the issue between activating each plugin, so you can see which one is causing problems.
Please let us know your findings.
Hello,
the issue still persists!
I’ve disabled all the plguins except WP-Optimize. Then tried “Compress the selected image”. But it shows error https://prnt.sc/1vzan3r
The Log:
[2021-10-13 11:34:04 : INFO] - Re_Smush_It_Task server status: Online [2021-10-13 11:34:06 : INFO] - [2021-10-13 11:34:06 : INFO] - Header for logs at time: Wed, 13 Oct 2021 11:34:06 +0000 on https://new.yaquby.com [2021-10-13 11:34:06 : INFO] - WP: 5.8.1 [2021-10-13 11:34:06 : INFO] - PHP: 7.2.34 (fpm-fcgi, Linux server.yaquby.com 4.14.241-184.433.amzn2.x86_64 #1 SMP Wed Aug 4 14:35:15 UTC 2021 x86_64) [2021-10-13 11:34:06 : INFO] - MySQL: 5.5.5 [2021-10-13 11:34:06 : INFO] - WPLANG: en_US [2021-10-13 11:34:06 : INFO] - Server: Apache/2.4.48 () OpenSSL/1.0.2k-fips [2021-10-13 11:34:06 : INFO] - Outbound connections: N [2021-10-13 11:34:06 : INFO] - safe_mode: 0 [2021-10-13 11:34:06 : INFO] - max_execution_time: 300 [2021-10-13 11:34:06 : INFO] - memory_limit: 512M (used: 107.6M | 66.5M) [2021-10-13 11:34:06 : INFO] - multisite: N [2021-10-13 11:34:06 : INFO] - openssl: OpenSSL 1.0.2k 26 Jan 2017 [2021-10-13 11:34:06 : INFO] - A total of 1 tasks of type smush found and will be processed in this iteration [2021-10-13 11:34:06 : INFO] - Set semaphore last lock (smush) time to 2021-10-13 11:34:06 [2021-10-13 11:34:06 : INFO] - Semaphore lock (smush) complete [2021-10-13 11:34:06 : INFO] - Processing task with ID : 1004, and type 'smush' [2021-10-13 11:34:07 : INFO] - Task with ID 1004 and type (smush) failed with error code invalid_file_type - /var/www/html/new.yaquby.com/htdocs/wp-content/uploads/2021/07/FDP65.400.3.JPG - cannot be optimized, it has an invalid file type [2021-10-13 11:34:07 : INFO] - Decremented the semaphore (smush) by 1 [2021-10-13 11:34:07 : INFO] - Semaphore (smush) unlocked [2021-10-13 11:34:07 : INFO] - Successfully processed the queue (smush). 1 tasks were processed out of 1. [2021-10-13 11:34:07 : INFO] - Semaphore (smush, ivecom2_options) was successfully cleaned up [2021-10-13 11:34:07 : INFO] - Cleaning up tasks of type (smush). A total of 1 tasks will be deleted. [2021-10-13 11:37:45 : INFO] - Re_Smush_It_Task server status: Online [2021-10-13 11:37:46 : INFO] - [2021-10-13 11:37:46 : INFO] - Header for logs at time: Wed, 13 Oct 2021 11:37:46 +0000 on https://new.yaquby.com [2021-10-13 11:37:46 : INFO] - WP: 5.8.1 [2021-10-13 11:37:46 : INFO] - PHP: 7.2.34 (fpm-fcgi, Linux server.yaquby.com 4.14.241-184.433.amzn2.x86_64 #1 SMP Wed Aug 4 14:35:15 UTC 2021 x86_64) [2021-10-13 11:37:46 : INFO] - MySQL: 5.5.5 [2021-10-13 11:37:46 : INFO] - WPLANG: en_US [2021-10-13 11:37:46 : INFO] - Server: Apache/2.4.48 () OpenSSL/1.0.2k-fips [2021-10-13 11:37:46 : INFO] - Outbound connections: N [2021-10-13 11:37:46 : INFO] - safe_mode: 0 [2021-10-13 11:37:46 : INFO] - max_execution_time: 300 [2021-10-13 11:37:46 : INFO] - memory_limit: 512M (used: 36.6M | 18.3M) [2021-10-13 11:37:46 : INFO] - multisite: N [2021-10-13 11:37:46 : INFO] - openssl: OpenSSL 1.0.2k 26 Jan 2017 [2021-10-13 11:37:47 : INFO] - A total of 1 tasks of type smush found and will be processed in this iteration [2021-10-13 11:37:47 : INFO] - Set semaphore last lock (smush) time to 2021-10-13 11:37:47 [2021-10-13 11:37:47 : INFO] - Semaphore lock (smush) complete [2021-10-13 11:37:47 : INFO] - Processing task with ID : 1005, and type 'smush' [2021-10-13 11:37:47 : INFO] - Task with ID 1005 and type (smush) failed with error code invalid_file_type - /var/www/html/new.yaquby.com/htdocs/wp-content/uploads/2021/07/FDP65.400.3.JPG - cannot be optimized, it has an invalid file type [2021-10-13 11:37:47 : INFO] - Decremented the semaphore (smush) by 1 [2021-10-13 11:37:47 : INFO] - Semaphore (smush) unlocked [2021-10-13 11:37:47 : INFO] - Successfully processed the queue (smush). 1 tasks were processed out of 1. [2021-10-13 11:37:47 : INFO] - Semaphore (smush, ivecom2_options) was successfully cleaned up [2021-10-13 11:37:47 : INFO] - Cleaning up tasks of type (smush). A total of 1 tasks will be deleted. [2021-10-13 11:38:31 : INFO] - Re_Smush_It_Task server status: Online [2021-10-13 11:38:32 : INFO] - [2021-10-13 11:38:32 : INFO] - Header for logs at time: Wed, 13 Oct 2021 11:38:32 +0000 on https://new.yaquby.com [2021-10-13 11:38:32 : INFO] - WP: 5.8.1 [2021-10-13 11:38:32 : INFO] - PHP: 7.2.34 (fpm-fcgi, Linux server.yaquby.com 4.14.241-184.433.amzn2.x86_64 #1 SMP Wed Aug 4 14:35:15 UTC 2021 x86_64) [2021-10-13 11:38:32 : INFO] - MySQL: 5.5.5 [2021-10-13 11:38:32 : INFO] - WPLANG: en_US [2021-10-13 11:38:32 : INFO] - Server: Apache/2.4.48 () OpenSSL/1.0.2k-fips [2021-10-13 11:38:32 : INFO] - Outbound connections: N [2021-10-13 11:38:32 : INFO] - safe_mode: 0 [2021-10-13 11:38:32 : INFO] - max_execution_time: 300 [2021-10-13 11:38:32 : INFO] - memory_limit: 512M (used: 36.6M | 4.3M) [2021-10-13 11:38:32 : INFO] - multisite: N [2021-10-13 11:38:32 : INFO] - openssl: OpenSSL 1.0.2k 26 Jan 2017 [2021-10-13 11:38:32 : INFO] - A total of 1 tasks of type smush found and will be processed in this iteration [2021-10-13 11:38:32 : INFO] - Set semaphore last lock (smush) time to 2021-10-13 11:38:32 [2021-10-13 11:38:32 : INFO] - Semaphore lock (smush) complete [2021-10-13 11:38:32 : INFO] - Processing task with ID : 1006, and type 'smush' [2021-10-13 11:38:32 : INFO] - Task with ID 1006 and type (smush) failed with error code invalid_file_type - /var/www/html/new.yaquby.com/htdocs/wp-content/uploads/2021/07/FDP65.400.4.JPG - cannot be optimized, it has an invalid file type [2021-10-13 11:38:32 : INFO] - Decremented the semaphore (smush) by 1 [2021-10-13 11:38:32 : INFO] - Semaphore (smush) unlocked [2021-10-13 11:38:32 : INFO] - Successfully processed the queue (smush). 1 tasks were processed out of 1. [2021-10-13 11:38:32 : INFO] - Semaphore (smush, ivecom2_options) was successfully cleaned up [2021-10-13 11:38:32 : INFO] - Cleaning up tasks of type (smush). A total of 1 tasks will be deleted.
@faisal95bd Id your website behind firewall? that could be blocking the connection request to the reSmush.it server?
No, there isnt any firewall.
It seems like when the picture extension is capital letter .JPG or .PNG (e.g. lorem.JPG) there are issues.
But if its like that (lorem.jpg) there isn’t any issues.@faisal95bd Thanks for sharing the information, I’ll share this with our development team for further investigation, and if it needs a code fix it will be fixed in future release.
@faisal95bd Could you please also share with us the log file of successful image compression?
Please share it here: https://pastebin.com
@faisal95bd Thanks for sharing the logs, I’ll share the same with our development team.
@faisal95bd We have identified the issue and it should be fixed in next release.
Thank you for your time and patience.
Okay.
thanks
The last update of the plugin was released 3months ago!
It’s been a long time…
-
This reply was modified 3 years, 5 months ago by
- The topic ‘selected image(s) could not be compressed.’ is closed to new replies.