Hey @warriorne,
That error comes from Google, not the plugin itself. Oddly enough they don’t support their own WebP format. The plugin supports WebP images, and will try to automatically convert them to a format that is supported by the Google Business Profile API.
However, if the image is converted to WebP later in the chain, outside of WordPress (e.g. by a CDN service or something like CloudFlare), the plugin is not able to pick that up and it will give you that error. Are you using any such services?
~ Koen
Hey @warriorne, I haven’t heard back in a few weeks. I’m assuming this is fixed, but feel free to follow up if it isn’t. ~ Koen
Hi there !
nope, the plugin doesn’t fully support WebP yet.
I use WebPExpress on a website (a pretty cool plugin that converts all pictures to WebP), here’s the error when I try to publish :
Une erreur de type E_ERROR a été causée dans la ligne 445 du fichier //plugins/post-to-google-my-business/src/ParseFormFields.php. Message d’erreur : gd-webp cannot get webp info
Hey @darkyudex, thats an interesting error. It would mean that the images supplied to the plugin are not actually WebP images, but “pretend” to be. It is possible that the plugin you’re using is converting them on the fly. I will look into it, thanks!
~ Koen
Any workaround for the moment ? Can I try to configure WebP Express to serve WEBP pictures directly ? Should I redirect to the converted picture instead of the PHP converter ?