WordPress databasefout: [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 '"2022-40" ORDER BY RAND()' at line 17]
SELECT p1.ID AS aanbieding_id, p2.ID AS ondernemer_id, p2.post_name AS ondernemer_name, p2.post_content AS ondernemer_content FROM draad_posts p1, draad_posts p2, draad_postmeta pm WHERE p1.post_type = "aanbieding" AND p1.post_status = "publish" AND p2.post_type = "ondernemer" AND p2.post_status = "publish" AND p1.post_author = p2.post_author AND pm.post_id = p1.ID AND pm.meta_key = "aanbieding_weeks" AND pm.meta_value "2022-40" ORDER BY RAND()

Helaas deze coupon is niet meer geldig of verwijderd door de ondernemer