Throws Errors With Yoast Wocommerce SEO
-
I see these errors when using Wocommerce with YoastWoocommerceSEO.
Warning: Only the first byte will be assigned to the string offset in D:\xampp\htdocs\wp-content\plugins\wpseo-woocommerce\classes\woocommerce-schema.php on line 527 Fatal error: Uncaught TypeError: Cannot access offset of type string on string in D:\xampp\htdocs\wp-content\plugins\wpseo-woocommerce\classes\woocommerce-schema.php:527 Stack trace: #0 D:\xampp\htdocs\wp-content\plugins\wpseo-woocommerce\classes\woocommerce-schema.php(155): WPSEO_WooCommerce_Schema->filter_reviews(Array, Object(WC_Product_External)) #1 D:\xampp\htdocs\wp-includes\class-wp-hook.php(287): WPSEO_WooCommerce_Schema->change_product(Array, Object(WC_Product_External)) #2 D:\xampp\htdocs\wp-includes\plugin.php(212): WP_Hook->apply_filters(Array, Array) #3 D:\xampp\htdocs\wp-content\plugins\woocommerce\includes\class-wc-structured-data.php(328): apply_filters('woocommerce_str...', Array, Object(WC_Product_External)) #4 D:\xampp\htdocs\wp-includes\class-wp-hook.php(287): WC_Structured_Data->generate_product_data(Object(WC_Product_External)) #5 D:\xampp\htdocs\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #6 D:\xampp\htdocs\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #7 D:\xampp\htdocs\wp-content\themes\rehub-theme\inc\product_layout\ce_woo_blocks.php(347): do_action('woocommerce_sin...') #8 D:\xampp\htdocs\wp-content\themes\rehub-theme\woocommerce\single-product.php(72): include('D:\\xampp\\htdocs...') #9 D:\xampp\htdocs\wp-includes\template-loader.php(106): include('D:\\xampp\\htdocs...') #10 D:\xampp\htdocs\wp-blog-header.php(19): require_once('D:\\xampp\\htdocs...') #11 D:\xampp\htdocs\index.php(17): require('D:\\xampp\\htdocs...') #12 {main} thrown in D:\xampp\htdocs\wp-content\plugins\wpseo-woocommerce\classes\woocommerce-schema.php on line 527
Even it doesn’t display the product content!!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Throws Errors With Yoast Wocommerce SEO’ is closed to new replies.