Hello,
It seems to be an issue with the latest WooCommerce version already reported by other themes as well https://github.com/woocommerce/woocommerce/issues/30298 As a workaround, you can edit the file wp-content\plugins\woocommerce\includes\class-wc-query.php
and replace the following code
private function product_query_post_clauses( $args, $wp_query ) {
$args = $this->price_filter_post_clauses( $args, $wp_query );
$args = $this->filterer->filter_by_attribute_post_clauses( $args, $wp_query, $this->get_layered_nav_chosen_attributes() );
$search = $this->get_main_search_query_sql();
if ( $search ) {
$args['where'] .= ' AND ' . $search;
}
return $args;
}
with the following one
private function product_query_post_clauses( $args, $wp_query ) {
$args = $this->price_filter_post_clauses( $args, $wp_query );
$args = $this->filterer->filter_by_attribute_post_clauses( $args, $wp_query, $this->get_layered_nav_chosen_attributes() );
return $args;
}
Kind Regards