SQL error in is_variable_product
-
I’m getting an SQL error:
SELECT count(object_id) FROM wp_term_relationships WHERE object_id = 55 AND term_taxonomy_id IN ()After debugging I traced it to “is_variable_product” and the $get_variation_term_taxonomy_ids array being empty.
Returning false if the array is empty solves the problem, but I’m not sure if it is a symptom of something bigger.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘SQL error in is_variable_product’ is closed to new replies.