Kaart Groen

1.50

Maak je kado compleet met een gepersonaliseerde kaart.

WordPress databasefout: [The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay]
SELECT winkel_posts.* FROM winkel_posts LEFT JOIN winkel_term_relationships ON (winkel_posts.ID = winkel_term_relationships.object_id) LEFT JOIN winkel_postmeta ON ( winkel_posts.ID = winkel_postmeta.post_id ) LEFT JOIN winkel_postmeta AS mt1 ON (winkel_posts.ID = mt1.post_id AND mt1.meta_key = 'tm_meta_disable_categories' ) LEFT JOIN winkel_postmeta AS mt2 ON ( winkel_posts.ID = mt2.post_id ) LEFT JOIN winkel_postmeta AS mt3 ON (winkel_posts.ID = mt3.post_id AND mt3.meta_key = 'tm_meta_product_exclude_ids' ) WHERE 1=1 AND ( winkel_term_relationships.term_taxonomy_id IN (30) OR winkel_posts.ID NOT IN ( SELECT object_id FROM winkel_term_relationships WHERE term_taxonomy_id IN (15,16,17,21,23,28,30,31,32,33,34,35,36,37,38,39,41) ) OR NOT EXISTS ( SELECT 1 FROM winkel_term_relationships INNER JOIN winkel_term_taxonomy ON winkel_term_taxonomy.term_taxonomy_id = winkel_term_relationships.term_taxonomy_id WHERE winkel_term_taxonomy.taxonomy = 'product_cat' AND winkel_term_relationships.object_id = winkel_posts.ID ) ) AND ( ( ( winkel_postmeta.meta_key = 'tm_meta_disable_categories' AND winkel_postmeta.meta_value != '1' ) OR mt1.post_id IS NULL ) AND ( ( mt2.meta_key = 'tm_meta_product_exclude_ids' AND mt2.meta_value NOT LIKE '%\"202\";%' ) OR mt3.post_id IS NULL ) ) AND winkel_posts.post_type = 'tm_global_cp' AND ((winkel_posts.post_status = 'publish')) GROUP BY winkel_posts.ID ORDER BY winkel_posts.post_date ASC

Categorie: