• Resolved takamurareda

    (@takamurareda)


    Hello,

    I’m experiencing an issue with the The Events Calendar plugin on my WordPress site. Here are the details:

    1. When I click the button to navigate to past events from the calendar, the URL generated is malformed and leads to a blank page. For example: (/?:month)/.
    2. I’m using the free version of the plugin and a widget to display events. When I click on View Calendar, the same issue persists, with similar errors in the URL.

    What I’ve already tried:

    • Deactivating all plugins: I deactivated all other plugins to check for conflicts, but the issue remains.
    • Downgrading to an older WordPress version: I downgraded to version 6.6.2, but this did not resolve the problem.
    • Modifying the URL slugs: In the plugin settings, I changed the slugs event and events (e.g., replacing them with evenement and evenements), then saved and regenerated the permalinks.
    • Resetting permalinks: I temporarily changed the permalink structure to “Plain” and then reverted it back to “Post name,” but the issue persists.
    • Changing the theme: I temporarily activated a default WordPress theme (Twenty Twenty-Three), but this also didn’t fix the issue.

    Additional context:

    • I’m using the free version of The Events Calendar.
    • My goal is to correctly display past events from the calendar, but the button to navigate to these events does not work.

    Question:

    Is this issue related to the free version of the plugin? Is there a solution to fix this problem, or is it a known bug in this version of The Events Calendar?

    Thank you in advance for your help!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Darian

    (@d0153)

    Hi @wolfgangsch

    Thanks for reaching out. Let me help you with this one.

    To help us investigate this issue further, could you please provide the URL of your calendar so we can take a closer look? Additionally, let us know the language you’re using on your website. If you’re using a multi-language plugin, kindly provide the name and version of the plugin as well.

    Looking forward to your reply.

    Thread Starter takamurareda

    (@takamurareda)

    Hello,
    Here is the URL to access the calendar: https://intranet-ieif.fr/events/
    My website is in French.

    Thank you in advance.

    Hi, it seems that many users who reported similar issues are using non-English sites.

    Ours is German on WP 6.7.1 and the site is https://gemeinsam-fuer-stadtwandel.de/veranstaltungen/

    The bad links occur in the month/list switch, and in tag/category links

    Thread Starter takamurareda

    (@takamurareda)

    How i can resolve this problem ?

    Plugin Support tristan083

    (@tristan083)

    Hi @takamurareda ,

    Thank you for reaching out.

    Looks like this is a commonly raised concern among users of WordPress 6.7 and above (see https://appsbd.com/translation-issues-in-wordpress-6-7/).

    One of my colleague was able to find a workaround the issue which involves the following steps:

    • Move the language from the plugin folder to WordPress’ parent language folder with Loco translate (see video:?https://www.loom.com/share/620e1be3491e4f4e9e56fbd2ecd6984f)
    • Once that’s done, go to?Events > Settings > General > Viewing?and make a simple edit to the?Events URL slug?and?Single event URL slug. — This step refreshes the rewrite slugs, which should take care of any URL translation issues.

    Please feel free to let us know if that works for you or if you have further questions/concerns.

    Thread Starter takamurareda

    (@takamurareda)

    Hello,
    I’ve made the change, but I’m still experiencing the same issue.

    Plugin Support tristan083

    (@tristan083)

    Hi @takamurareda ,

    Thank you for your message and the information.

    Does your site happen to be employing caching solutions? If yes, have you tried purging the cache after the steps above and regenerating your permalinks?

    Thread Starter takamurareda

    (@takamurareda)

    Yes, I tried clearing the cache, and I even deactivated the cache plugin, but it still doesn’t work.

    Thread Starter takamurareda

    (@takamurareda)

    Thank you all for your suggestions. After several tests, I identified the cause of the issue: the All In One Intranet and Force Login plugins were blocking REST API requests, which prevented The Events Calendar from working correctly.

    The REST API allows plugins to communicate with WordPress. If it’s blocked (you can see this in the browser console, under the “Network” tab), some features will break.

    To fix the issue, I disabled those plugins and added this code in the functions.php file to force redirection to the login page:

    php

    Copier le code

    function redirect_to_login_page() { if (!is_user_logged_in() && !is_page('login')) { wp_redirect(wp_login_url()); exit; } } add_action('template_redirect', 'redirect_to_login_page');

    Since then, everything is working perfectly. I hope this helps others facing the same problem!

    Plugin Support Darian

    (@d0153)

    Hi @takamurareda

    Thank you for your message! I’m glad to hear that you were able to resolve the issue.

    I’ll close this thread for now, but please do not hesitate to start a new thread if you have other issues at all. This allows us to track topics/issues efficiently and follow the WordPress Forum Guidelines.

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