Title: Error
Last modified: August 31, 2016

---

# Error

 *  Resolved [ilovebonaire](https://wordpress.org/support/users/ilovebonaire/)
 * (@ilovebonaire)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-746/)
 * Hello,
 * Plugin seems not to be working fine in combination with WPML? My first language(
   English) is working perfect but I get an error as soon as I select the second
   language (see below). Any idea what’s going wrong?
 * Kind regards,
    Juul
 * ps. I know it’s an older version of the plugin, but my theme doesn’t support 
   the newest version..
 * Notice: Undefined variable: postmeta_table in /home2/ilovebon/public_html/staging/
   wp-content/plugins/the-events-calendar/lib/tribe-event-query.class.php on line
   948
    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 ‘ wp_fmha_posts.post_date) AS post_date FROM wp_fmha_posts LEFT JOIN
   wp_fmha_ic’ at line 1] SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_fmha_posts.*, IF(
   wp_fmha_posts.post_type = ‘tribe_events’, .meta_value, wp_fmha_posts.post_date)
   AS post_date FROM wp_fmha_posts LEFT JOIN wp_fmha_icl_translations t ON wp_fmha_posts.
   ID = t.element_id AND t.element_type = CONCAT(‘post_’, wp_fmha_posts.post_type)
   LEFT JOIN wp_fmha_postmeta as on wp_fmha_posts.ID = .post_id AND .meta_key = ‘
   _EventStartDate’ WHERE 1=1 AND wp_fmha_posts.post_type IN (‘post’, ‘tribe_events’)
   AND (wp_fmha_posts.post_status = ‘publish’ OR wp_fmha_posts.post_author = 1 AND
   wp_fmha_posts.post_status = ‘private’) AND ( ( t.language_code = ‘nl’ AND wp_fmha_posts.
   post_type IN (‘post’,’page’,’attachment’,’community-pro-sermon’,’community-pro-
   staff’,’tribe_events’,’tribe_venue’,’tribe_organizer’ ) ) OR wp_fmha_posts.post_type
   NOT IN (‘post’,’page’,’attachment’,’community-pro-sermon’,’community-pro-staff’,’
   tribe_events’,’tribe_venue’,’tribe_organizer’ ) ) ORDER BY post_date DESC LIMIT
   0, 10
 * [https://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

Viewing 1 replies (of 1 total)

 *  [joinfof](https://wordpress.org/support/users/joinfof/)
 * (@joinfof)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/error-746/#post-7177470)
 * Hello,
 * Without the ability to run the latest versions of our plugins, we are limited
   in what we can support. Try updating to the latest version (if possible) and 
   see if the issue still arises. Additionally, theme conflicts are outside the 
   scope I’m able to provide via our support forums, so there’s not much we can 
   do :-/
 * Good luck and enjoy your weekend.

Viewing 1 replies (of 1 total)

The topic ‘Error’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [joinfof](https://wordpress.org/support/users/joinfof/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/error-746/#post-7177470)
 * Status: resolved