• Resolved cmdavidson

    (@cmdavidson)


    I have a German-English WPML site that has been running the Events Calendar plugin for 6 months or so. German is the default language for WPML. I just noticed that when I am on the English calendar (month or list view) and click on an event, I get an error.

    In Chrome the error says “This page isn’t working. mlc.conniedavidson.ca redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS”.

    In Edge the error code is INET_E_REDIRECT_FAILED.

    The German calendar works fine.

    When I first noticed the problem, the Events Calendar version was 4.6.23. After updating to 4.6.25 the problem continued.

    I tried deactivating all plugins (except Events Calendar and WPML) and switching to the 2016 theme (and clearing the cache), but the problem remained. I also resaved Permalinks.

    WP, theme, and all plugins are up to date.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter cmdavidson

    (@cmdavidson)

    Update:

    I reread the instructions for setting up The Events Calendar with WPML (https://theeventscalendar.com/knowledgebase/setting-up-the-events-calendar-with-wpml/) and found one setting that was different in my setup under the heading “Displaying your events in other languages when they are not translated”.

    It recommends (I thought optionally, but it’s not clear): “Head over to WPML > Settings > Post Types Translation and select “Translatable – use translation if available or fallback to default language” for Events.”

    In my case, the Events (tribe_events) post type listed in this section had a lock next to it and I originally didn’t want to mess with it. But after rereading the instructions, I unlocked it and changed the setting as recommended. This fixed the problem (specifically, the English event pages now load properly instead of giving an error)!

    I’m happy that the English events are no longer broken, but there is a difference in how the calendar works now. Now a German event will show on the English calendar if there is no English translation (which is, of course, what the new option says it will do). This is not quite what we want.

    Why does the original Post Type Translation option (“Translatable – only show translated items”) cause the English calendar to break?

Viewing 1 replies (of 1 total)

The topic ‘Event page error for one language (using WPML)’ is closed to new replies.