Product grid blocks database error
-
Hello!
All of my sites have an issue with last Woocommerce update 6.0.0
Although everything works, all the ranked products grid blocks throws the database error message copied below.
I have a fresh install only StoreFront and WooCommerce test site with debug mode enabled here
Regards,
Francisco
[28-Dec-2021 18:21:56 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND meta_key LIKE 'attribute\\_%'' at line 1 for query SELECT post_id as variation_id, meta_key as attribute_key, meta_value as attribute_value FROM test_s_w_postmeta WHERE post_id IN () AND meta_key LIKE 'attribute\\_%' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/storefront/page.php'), get_template_part, locate_template, load_template, require('/themes/storefront/content-page.php'), do_action('storefront_page'), WP_Hook->do_action, WP_Hook->apply_filters, storefront_page_content, the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_blocks, render_block, WP_Block->render, Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->render, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->get_products, Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->prime_product_variations
The page I need help with: [log in to see the link]
- The topic ‘Product grid blocks database error’ is closed to new replies.