Hello, i get a Error with rank math on my Shop Site.
The Theme is: XSTORE from Themeforrest
If i use a basic Theme, the Error is gone.
Im usa the actual version of RankMath ( 1.0.107.3 )
´
ERROR CODE:
Warning: Array to string conversion in familie-sprueche.de/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-image.php on line 606
Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.
I tried to log into your site and it seems like the username is incorrect. Can you please check and try updating the credentials?
Meanwhile, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.
The lines you’re encountering on your shop page is just a warning, not the error.
Those were showing because you had WP_DEBUG enabled on your site. I’ve disabled WP_DEBUG from your wp-config.php file and those are not appearing on front-end anymore.
Basically the warning was appearing, since your shop page is built on the Elementor template and even if it is being identified as a shop and archive page, it doesn’t contain a post ID, which is why Rank Math was unable to go through with the intended procedure and was trying to set an image by calling the set_archive_image() function.
The way you can resolve this warning is, by using a normal shop page instead of a template. Or you may leave it as it is, since this is just a warning, and you can simply get rid of it by disabling WP_DUBG on your site, just as I did.
Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.