Hello @homu9
I tried to replicate this issue on a lab site but everything was working fine there. Checking the code, I can see why adding that line may fix this, but the original files of the plugin doesn’t have it, and I looked at different, older versions of the plugin and the code from that file hasn’t changed.
Whatever is happening in your site it seems to be a conflict with another plugin, theme or even the configuration of your site. I suggest you to make a backup of the site, then run a Conflict Test by deactivating other plugins, and return to the default WordPress theme. The code that’s causing the error seems related to the translation of the site; if you changed the language of your site’s backend before, switch it back to English and see if the issue persist.
Kind regards,
Jair.
Thread Starter
homu9
(@homu9)
@wpmudevsupport15
You are absolutely right.
It is caused by wrong translation of zh-CN.
. translators: %1$s: bytes savings, %2$s: percentage savings : core/media-library/class-media-library-row.php:396
msgid "Reduced by %1$s (%2$s)"
msgstr "%3$d个图像减少了%1$s(%2$s)"
It inherits additional argument from the translation above.
Hi @homu9,
Glad to know that you managed to resolve the issue.
If you have found our plugin helpful, we kindly ask you to leave us a rating. Your support will motivate us to continue maintaining and offering the free version for everyone to use.
https://wordpress.org/support/plugin/wp-smushit/reviews/
Best Regards,
Nebu John