Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ilovebonaire

    (@ilovebonaire)

    Hello,

    thought I had the solution by uploading an older version of the plugin. But it seems not to be working in combination with WPML. My first language (English) is working fine but I get an error as soon as I select the second language (see below). Any idea what’s going wrong?

    Kind regards,
    Juul

    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

    Thread Starter ilovebonaire

    (@ilovebonaire)

    Fixed it by uploading an older version of the plugin!

Viewing 2 replies - 1 through 2 (of 2 total)