Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
You have WPML installed on an Elementor website and encountered a 500 Internal Server Error on all language pages except for the default language after installing The Events Calendar plugins. The issue persists even after changing PHP versions and occurs only when WPML is active, regardless of the status of other plugins.
Solution:
We suspect this might be related to an issue where

.htaccess

is getting overwritten due to WPML settings. We recommend trying the workaround described in this article: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please open a new support ticket. We also 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. For further assistance, you can contact us directly through our 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: 

This topic contains 2 replies, has 1 voice.

Last updated by jeanP-10 3 days, 19 hours ago.

Assisted by: Andrey.

Author Posts
December 12, 2025 at 2:22 pm #17659561

jeanP-10

I have WPML installed on an Elementor website. I had no problems with it until I tried to installed The Events Calendar plugins. I immediately got a 500 Internal Server Error on all language pages except for the default language.
I set up a staging environment to troubleshoot the problem, and The Events Calendar support was involved but unable to pinpoint the cause, until they noticed that the 500 error occurs only when WPML plugin is installed and all other plugins are deactivated. See this screencast: hidden link
But it only seems to occur when TEC has been installed previously (even if subsequently deactivated).
Could you help with this issue?
I have changed the php version from 8.4 to 8.3 after reading in another support post that that could be an issue. The problem still persists.
Otherwise all plugins, themes and WordPress version are current.

December 12, 2025 at 2:36 pm #17659637

jeanP-10

The problem still persists after going through the steps suggested by your AI chatbox, including running a code in the functions.php file.

December 12, 2025 at 4:02 pm #17660031

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

I suspect you may be experiencing the following issue:
https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

Please try the workaround described in the article and let me know how it goes.

December 15, 2025 at 9:47 am #17663296

jeanP-10

Thanks for your help. I didn't get a notification of your reply for some reason, but the workaround solved the problem.