[Yoast/wordpress-seo] indexables-frontend: Argument 1 passed to Yoast_WooCommerce_SEO::set_opengraph_image() must be an instance of WPSEO_OpenGraph_Image (#14215)

From: notifications@github.com
Domain: IP info github.com
MX-server: IP info out-23.smtp.github.com
Size: 2975 Bytes
Create: 2020-01-16
Update: 2020-01-16
Score: 0
Safe: Yes

Outbound domains: github.com |

How can we reproduce this behavior?

  1. indexables feature build was taken from yoast-dist
  2. Install and activate WooCommerce 3.8.1.
  3. Install and activate Yoast SEO: WooCommerce 12.4.1.
  4. Go to homepage
    Fatal error: Uncaught TypeError: Argument 1 passed to Yoast_WooCommerce_SEO::set_opengraph_image() must be an instance of WPSEO_OpenGraph_Image, instance of Yoast\WP\SEO\Values\Open_Graph\Images given, called in /srv/www/local/public_html/wp-includes/class-wp-hook.php on line 288 and defined in /srv/www/local/public_html/wp-content/plugins/wpseo-woocommerce/wpseo-woocommerce.php:748 Stack trace: #0 /srv/www/local/public_html/wp-includes/class-wp-hook.php(288): Yoast_WooCommerce_SEO->set_opengraph_image(Object(Yoast\WP\SEO\Values\Open_Graph\Images)) #1 /srv/www/local/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #2 /srv/www/local/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /srv/www/local/public_html/wp-content/plugins/wordpress-seo/src/generators/og-image-generator.php(90): do_action('wpseo_add_openg...', Object(Yoast\WP\SEO\Values\Open_Graph\Images)) #4 /srv/www/local/public_html/wp-content/plugins/wordpress-seo/src/presentations/indexable-presentation.php(294) in /srv/www/local/public_html/wp-content/plugins/wpseo-woocommerce/wpseo-woocommerce.php on line 748


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.