Quantcast
Channel: WordPress.org Forums » [Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Support
Viewing all articles
Browse latest Browse all 42467

‘WPSEO_Frontend’ not found in WooCommerce Yoast SEO

$
0
0

Replies: 1

We are getting the following error on some pages:

Fatal error: Uncaught Error: Class 'WPSEO_Frontend' not found in 
wp-content/plugins/wpseo-woocommerce/classes/woocommerce-schema.php:353 Stack trace: #0 
wp-content/plugins/wpseo-woocommerce/classes/woocommerce-schema.php(114): WPSEO_WooCommerce_Schema->get_canonical() #1 
wp-includes/class-wp-hook.php(303): WPSEO_WooCommerce_Schema->change_product(Array, Object(WC_Product_Variable)) #2 
wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #3 
wp-content/plugins/woocommerce/includes/class-wc-structured-data.php(328): apply_filters('woocommerce_str...', Array, Object(WC_Product_Variable)) #4 
wp-includes/class-wp-hook.php(303): WC_Structured_Data->generate_product_data(Object(WC_Product_Variable)) #5 
/home/customer/www/clariss in 
wp-content/plugins/wpseo-woocommerce/classes/woocommerce-schema.php on line 353

I found that the get_canonical() function calls WPSEO_Frontend which I believe has been depricated. I’m using Version: 12.6.1


Viewing all articles
Browse latest Browse all 42467

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>