This image cannot be processed by the web server. Convert it to JPEG or PNG before uploading

I was trying to upload a .webp image to my WordPress website, after the 5.8 update WordPress says it natively supports webp images. But when I try to upload it get this error:
This image cannot be processed by the web server. Convert it to JPEG or PNG before uploading

How can I fix this?


 

Sponsored