[ad_1]
This is a bug in the new update. Open that file, wp-content/plugins/ewww-image-optimizer/classes/class-ewwwio-cli.php, and go to line 327.
This is the correct code for line 327.
'%image%' //,
Thanks.
I assume it will be updated in the next version?
Hi folks,
Thanks for reporting that, and thanks Eric for jumping in here. That comma can just be removed entirely. We’ll have it updated in the next release for sure!
That’s the downside of me testing/developing on PHP 8, which now allows the “trailing comma” syntax 🙂
Thanks for the fast response.
The fix worked for me as @nosilver4u wrote.
It actually worked as @fferic wrote.
Thanks to you both
