Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #396369

    Hi guys,

    I’ve recently installed The events calendar plugin and the Masonry display I have enabled on my blog stoped working when I switch to english. I’ using the WPML for the translations. I’ve descativated all the plugins except the WPML and everyting was working fine, Then I’ve activated them one by one and found out that the events calendar was causing the blog page failure.
    Is their any solutions to this?

    Best
    Andrei

    #396899

    Hi Andrei!

    please update to Enfold 3.0.8.

    Best regards,
    Andy

    #397155

    Hi Andy,

    I’ve just updated to 3.0.8 and still haaving the same problem As a matter of fact I’ve also noticed that the maximum container width it’s a bit biger in the spanish version of the blog altough the width it’s set to 1310px in both spanish and english settings. Maybe i’ts caused by the same plugin.

    I don’t know guys, I’m out of ideas, I’ve been stugling with this for a week now.

    Best

    #397397

    Hi!

    Can you please flush browser cache and refresh your page a few times. Container widths are the same on both languages on my end.

    Best regards,
    Yigit

    #397510

    I’ve fixed the container width follwing this entry https://kriesi.at/support/topic/general-layout-not-the-same-size-in-different-languages/.

    But whats more important is that english posts are not showing while “The event calendar” is active.

    #398291

    Hey!

    Hmm, I took a look but couldn’t figure out what it is. For me it only stopped working when WPML was activated so I think the problem has something to do with the category translations or your WPML settings. Though it’s weird the regular blog shortcode works fine.

    I’ll flag this for the rest of our team to take a look but I would try contacting WPML support to see if they have any idea on what it could be.

    Cheers!
    Elliott

    • This reply was modified 9 years, 2 months ago by Elliott.
    #398556

    Thanks for the repply Elliott,

    I’ve used the the Debug Bar plugin in order to check for any errors and I came with this:

    SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_posts.*, IF (wp_posts.post_type = 'tribe_events', .meta_value, wp_posts.post_date) AS post_date FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) JOIN wp_icl_translations t ON wp_posts.ID = t.element_id
    AND t.element_type IN ('post_post','post_page','post_tribe_events','post_portfolio') JOIN wp_icl_languages l ON t.language_code=l.code AND l.active=1 LEFT JOIN wp_postmeta as on wp_posts.ID = .post_id AND .meta_key = '_EventStartDate' WHERE 1=1 AND ( 
    wp_term_relationships.term_taxonomy_id IN (33,195,196,199,200,201,202,204,205,206,212,216,218,219,221,222,224,226,228,236,240,246,247)
    ) AND wp_posts.post_type IN ('post', 'page', 'attachment', 'revision', 'nav_menu_item', 'wpdmpro', 'tribe_events', 'tribe_venue', 'tribe_organizer', 'portfolio', 'avia_framework_post') AND ((wp_posts.post_status = 'publish')) AND t.language_code='en' GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 0, 12
    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_posts.post_date) AS post_date FROM wp_posts INNER JOIN wp_term_relationship' at line 1

    There’s an sql query error and I belived that this is caused by the incopatibility betwwen The Events Calendar and WPML

    If you have any ideas on how to fix this it would help a lot.

    Tnx

    #398716

    Hey!

    Looks like a problem with the Events Calendar to me. Not sure how to solve it though, did you try contacting their support?

    Cheers!
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.