critical error | WordPress.org

[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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer