This thread is resolved. Here is a description of the problem and solution.
Problem:
You are using The Events Calendar plugin with WPML to translate events from Hungarian to German and encountering a 404 error when trying to access the German version of single events. The error occurs inconsistently and resolves temporarily after accessing the Hungarian version. Clearing the cache causes the issue to reoccur.
Solution:
We recommend testing the issue using only the parent theme, such as Twenty Twenty-Five, to rule out any conflicts with custom functions in your current theme. Additionally, please deactivate all other plugins except for WPML and The Events Calendar to see if the issue still persists. This will help determine if there is a specific interaction causing the problem.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem continues, please open a new support ticket for further assistance at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 9 replies, has 1 voice.
Last updated by Andrey 7 months ago.
Assisted by: Andrey.
| Author | Posts |
|---|---|
| October 7, 2025 at 8:09 am #17462548 | |
|
always-betterM |
Background of the issue: Symptoms: Questions: |
| October 7, 2025 at 8:12 am #17462569 | |
|
always-betterM |
Hey. I would very much appreciate it if the "open ticket button" actually opened up a ticket, instead of redirecting me to a braindead AI assistant. If I wanted to talk to ChatGPT, I think I'd be capable of using my browser's search bar on my own, instead of coming to your support page. This is the actual report I wrote up, as opposed to the AI summary your system threw together: Use The Events Calendar plugin with WPML hidden link My site's default language is Hungarian, and I set up a translation for German. I encountered a problem with accessing the single events on the German version. |
| October 7, 2025 at 2:20 pm #17464181 | |
|
Andrey WPML Supporter since 06/2013
Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for contacting WPML support. I’ve opened the link multiple times and switched between different versions, but I wasn’t able to reproduce the issue you’re experiencing. If you’re using an Apache server, could you please share the contents of your .htaccess file at the moment when you get the 404 error for the event? This file is located in the root directory of your WordPress installation. |
| October 8, 2025 at 9:25 am #17466526 | |
|
always-betterM |
Hi I still see the issue occuring. It is inconsistent, with some events working from the get-go, others giving me a 404, only to then properly work a few minutes later, then going back to an error again. I'll send you a list of links here which currently produce the error for me: hidden link Also, one thing: as I said, switching between the versions actually "fixes" the issue - after visiting a post's default Hungarian version, the German version works until the cache is flushed. I turned off the caching plugins to prevent them from interfering with any testing you do. Here's the content of .htaccess: FileETag none # ---------------------------------------------------------------------- # These are pretty far-future expires headers. # If you don't use filenames to version, lower the CSS and JS to something like <IfModule mod_expires.c> # Your document html # Media: images, video, audio # CSS and JavaScript # uploaded files <ifModule mod_gzip.c> # Specify a Vary: Accept-Encoding header <IfModule mod_expires.c> # Enable expirations # Default directive # My favicon # Images # CSS # Data interchange ExpiresByType application/atom+xml "access plus 1 hour" ExpiresByType application/json "access plus 0 seconds" # Favicon (cannot be renamed!) and cursor images ExpiresByType image/vnd.microsoft.icon "access plus 1 week" # HTML ExpiresByType text/html "access plus 0 seconds" # JavaScript ExpiresByType application/javascript "access plus 1 year" # Manifest files ExpiresByType application/manifest+json "access plus 1 week" # Media files ExpiresByType audio/ogg "access plus 1 month" # Web fonts # Embedded OpenType (EOT) # OpenType # TrueType # Web Open Font Format (WOFF) 1.0 # Web Open Font Format (WOFF) 2.0 # Other ExpiresByType text/x-cross-domain-policy "access plus 1 week" </IfModule> <IfModule mod_deflate.c> # Remove browser bugs (only needed for really old browsers) # RewriteCond %{HTTPS} off RewriteCond %{HTTPS} off RewriteEngine On # BEGIN WordPress # END WordPress # BEGIN LiteSpeed |
| October 8, 2025 at 1:11 pm #17467358 | |
|
Andrey WPML Supporter since 06/2013
Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for providing more information. I’ve opened each link multiple times, but I still haven’t been able to replicate the issue. This time, I didn’t switch between languages to ensure I followed the exact same steps as you described. To investigate further, I’ll need to request temporary access (wp-admin and FTP) to your site where the issue can be reproduced. When you log in to leave your next reply, you’ll find the necessary fields below the comment area. The information you provide is private — only you and I will be able to see it. Let’s see if I can reproduce the issue while I’m logged in. |
| October 9, 2025 at 8:33 am #17469891 | |
|
Andrey WPML Supporter since 06/2013
Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for the details. I will take a look and let you know. |
| October 9, 2025 at 2:52 pm #17471912 | |
|
Andrey WPML Supporter since 06/2013
Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
I examined this further throughout the day by clicking the links you provided, but I still couldn’t reproduce the issue (whether logged in or not). Without making any changes, just in case, I re-saved the permalinks in Settings → Permalinks and also updated the Event plugin permalink settings. Maybe you can try to identify specific steps to replicate the issue so I can assist you more effectively? |
| October 9, 2025 at 5:52 pm #17472365 | |
|
always-betterM |
Unfortunately, the problem still persists. Please carefully perform the check as described. Should I send you a video so that you take our case seriously and understand the problem? Perhaps we should hold a joint online meeting? |
| October 9, 2025 at 5:56 pm #17472429 | |
|
always-betterM |
First go to this address: hidden link Then open this hidden link After that just open some random events from the list... and they will be add 404 error on first GERMAN language load sometimes. After you open the HUNGARIAN version it will work again... Please control our issue because we need invariably help. Thanks in advance! |
| October 9, 2025 at 6:51 pm #17472627 | |
|
Andrey WPML Supporter since 06/2013
Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for providing the steps. By following them, I was able to reproduce the issue. I noticed that your custom theme includes several custom functions, some of which appear to be related to WPML and The Events Calendar plugin. Have you tried testing the issue using only the parent theme Twenty Twenty-Five? Additionally, please try testing with only WPML and The Events Calendar plugins activated to see if the issue persists. Let me know the results. |