このクエリで systax エラーが発生します。
SELECT
e.post_id as id, e.start as start_date,
p.post_title,
c.name as category
FROM
wp_ai1ec_events as e LEFT_JOIN wp_term_relationships as t ON e.post_id = t.object_id
LEFT_JOIN wp_term_relationships as t ON e.post_id = t.object_id
LEFT_JOIN wp_terms as c ON c.term_id = t.term_taxonomy_id
LEFT_JOIN wp_posts as p ON p.ID = e.post_id
GROUP BY e.post_id
実際には、すべてが1つの行に接続する必要があるため、この場合はおそらく左結合も必要ありません...
Error: #1064 - 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 'LEFT_JOIN wp_term_relationships as t ON e.post_id = t.object_id LEFT_JOIN w' at line 6
どんな助けでも大歓迎です。ありがとう。