WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '(%e/%c) %H:%i') as datetime,
jm_posts.post_title as title,
.price as pr' at line 3]
SELECT DISTINCT
jm_posts.ID as ID,
DATE_FORMAT(.start, '(%e/%c) %H:%i') as datetime,
jm_posts.post_title as title,
.price as price
FROM
INNER JOIN
jm_posts
ON
.post_id = jm_posts.ID
WHERE
jm_posts.post_status='publish'
AND
.start >= now()
ORDER BY
.start ASC