I also have the WPML Multilingual CMS installed and I noticed that when click on the View all Events, the events list comes up empty..
Think i found the problem here:
I had a look at the SQL statement that was being generated and for me it generated the following:
SELECT SQL_CALC_FOUND_ROWS wp_posts.*, eventStart.meta_value as EventStartDate, eventEnd.meta_value as EventEndDate FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_term_taxonomy ON (wp_term_relationships.term_taxonomy_id = wp_term_taxonomy.term_taxonomy_id) JOIN wp_icl_translations t ON wp_posts.ID = t.element_id AND t.element_type IN ('post_post','post_page') JOIN wp_icl_languages l ON t.language_code=l.code AND l.active=1LEFT JOIN wp_postmeta as eventStart ON( wp_posts.ID = eventStart.post_id ) LEFT JOIN wp_postmeta as eventEnd ON( wp_posts.ID = eventEnd.post_id ) WHERE 1=1 AND wp_term_taxonomy.taxonomy = 'category' AND wp_term_taxonomy.term_id IN ('6') AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') AND t.language_code='en' AND ( eventStart.meta_key = "_EventStartDate" AND eventEnd.meta_key = "_EventEndDate" ) AND ( eventStart.meta_value > "2011-02-24 9:57:37" OR ( eventStart.meta_value < "2011-02-24 9:57:37" AND eventEnd.meta_value > "2011-02-24 9:57:37" ) ) GROUP BY wp_posts.ID ORDER BY eventStart.meta_value ASC LIMIT 0, 10
now it seems that there is missing a whitespace between the join for the language code and the join for the event start date.
not sure if it’s the right solution, but i just added a whitespace to the end of the JOIN statements in the function posts_join_filter in sitepress-multilingual-cms/sitepress.class.php. Suddenly the list now shows up. There might be a better fix.. But i’m not sure who is responsible for the whitespace here..?