rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

Error on Woocommerce Shop page #102

Closed noralam closed 2 years ago

noralam commented 2 years ago

Describe the bug I want to use the Rank Math plugin in my WordPress site but I am showing the error on my Woocommerce shop page.

To Reproduce Steps to reproduce the behavior:

  1. The error is : Notice: Array to string conversion in /home/plnxbdhx/public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-image.php on line 531
  2. One More error showing when updating products.

Expected behavior Now I can't use the plugin for the major error

Screenshots Please see the screenshot https://prnt.sc/1ye337b

surajv commented 2 years ago

Hello @noralam,

On Shop, we use the Product archive image from Titles & Meta settings. It looks like on your setup, the get_query_var( 'post_type' ) is returning null instead of Product.

Please open a support ticket from here https://support.rankmath.com/. Our support staff will help you.

Thank you.