Skip Navigation

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

Problem:
The client is experiencing 500 Internal Server Errors on translation pages (/ru and /en) when WPML Multilingual CMS is active. The issue persists despite disabling other plugins, updating permalinks, and checking .htaccess configurations.

Solution:
We recommend following these steps from the faq https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

If the problem persists, please open a new support ticket 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: 

This topic contains 4 replies, has 2 voices.

Last updated by Shekhar Bhandari 10 months ago.

Assisted by: Shekhar Bhandari.

Author Posts
August 30, 2024 at 4:10 am #16122704

taivoJ

Background of the issue:
We are experiencing 500 Internal Server Errors on translation pages /ru and /en. When WPML Multilingual CMS is active, the problem persists even when all other plugins are disabled. Disabling WPML Multilingual CMS stops the 500 error but results in a 404 error instead. We have tried updating permalinks, checking .htaccess configurations, and ensuring that WPML settings are correct, but the issue remains unresolved. We need assistance in identifying and fixing the root cause of these translation page errors. Link to a page where the issue can be seen: hidden link

Symptoms:
A 500 Internal Server Error on the translated pages (/ru, /en) when WPML Multilingual CMS is enabled. When WPML Multilingual CMS is disabled, the pages show a 404 error instead. This issue persists even when all other plugins are disabled.

Questions:
What could be causing the 500 Internal Server Errors on the translation pages?
Why do the pages show a 404 error when WPML Multilingual CMS is disabled?
Are there specific WPML settings that need to be adjusted to resolve this issue?
Could there be a conflict with the .htaccess configurations or permalinks?

August 30, 2024 at 4:53 am #16122792

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello 🙂

Welcome to WPML support, I'd be happy to help you with this.

Can you use the solution provided here and see if it helps? https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

Further, It looks like there is some php error happening on your site which is creating the problem, being so can you please follow the below steps and share me the results.

1. Add the following code to your wp-config.php

define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );

https://wpml.org/documentation/support/debugging-wpml/

2. Repeat the action of creating the problem.

3. Copy and paste the contents of debug.log (log file inside the /wp-content/ directory) here for me to see. https://wpml.org/documentation/support/debugging-wpml/#how-to-send-debug-log-to-the-supporters

Look forward to your reply.

Thanks

August 30, 2024 at 5:00 am #16122799

taivoJ

Hello, debug log is empty

1.jpg
August 30, 2024 at 5:01 am #16122814

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello 🙂

To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

August 30, 2024 at 5:58 am #16122879

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I used the solution provided earlier and it seems to fix the issue, please confirm.

Can you use the solution provided here and see if it helps? https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

Look forward to your reply.

Thanks

August 30, 2024 at 6:05 am #16122886

taivoJ

Dear Shekhar,

Thank you for your prompt assistance, and the website is now working well without any 500 errors on the translation pages.

I appreciate your support and guidance.

Best regards,
Indrek