-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
[Type] BugAn existing feature is brokenAn existing feature is broken
Milestone
Description
Bug Description
I just tried to convert a existing site to webp with performance lab + modern image.
Steps to reproduce
- Install and enable both plugins
- Change setting to "webp"
- Use wp-cli to regenerate all images: wp media regenerate
- After a few images it stops with the error
Fatal error: Paletter image not supported by webp in /usr/www/users/xxxxxx/staging-xxxxxx-com/releases/20240924131521/wp-includes/class-wp-image-editor.php on line 592
Screenshots
Additional Context
- PHP Version: 8.1
- OS: Linux
- Browser: chromium
- Plugin Version: 3.4.1 / 2.2.0
- Device: Desktop
It seems the fix is to convert the image to RGB if it isn't already: https://stackoverflow.com/questions/39292617/fatal-error-paletter-image-not-supported-by-webp
IlyaZha
Metadata
Metadata
Assignees
Labels
[Type] BugAn existing feature is brokenAn existing feature is broken
Type
Projects
Status
Done 😃
