-
When my customers try to buy a product on my website, I receive this error:
Fatal error: Uncaught Error: Call to a member function get_price() on null in /home/customer/www/greyteam.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product-woocommerce.php:293 Stack trace: #0 /home/customer/www/greyteam.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product-woocommerce.php(248): RankMath\Schema\Product_WooCommerce->set_offers_variable(Object(WC_Product_Variable), Array, Array) #1 /home/customer/www/greyteam.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product-woocommerce.php(61): RankMath\Schema\Product_WooCommerce->set_offers(Object(WC_Product_Variable), Array, Array) #2 /home/customer/www/greyteam.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product.php(48): RankMath\Schema\Product_WooCommerce->set_product(Array, Object(RankMath\Schema\JsonLD)) #3 /home/customer/www/greyteam.org/public_html/wp-content/plugins/seo-by-rank- in /home/customer/www/greyteam.org/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-product-woocommerce.php on line 293
There has been a critical error on this website.Please assist.
The ticket ‘Fatal error’ is closed to new replies.