Skip Navigation

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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+02:00)

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by Andrey 1 day ago.

Assisted by: Andrey.

Author Posts
November 17, 2024 at 5:33 am #16411382

saeedG-2

Background of the issue:
I am trying to resolve an issue where all the links on the translated version of my site, hidden link, lead to error 500. The issue seems to be deeper than just menu links. Links work fine on the non-translated site. I am not seeing any PHP or WordPress errors in the debug logs. Both WPML and WordPress are updated.

Symptoms:
All links on the translated site result in error 500, but they work when accessed in a new tab.

Questions:
Why do all links on the translated site lead to error 500?
Why do links work when accessed in a new tab but not in the same tab?
What could be causing the error 500 on the translated site when there are no PHP or WordPress errors in the logs?

November 18, 2024 at 1:51 pm #16415091

Andrey
Supporter

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

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

You emnitoiend aobut the debug log. Have you enabled it in the following way?

To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

To enable the error logging to a file on the server, you need to add yet one more similar line:

define( 'WP_DEBUG_LOG', true );

The errors will be saved to a debug.log log file inside the /wp-content/directory.

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

If yes, and you still do not see any fatal error there. I suspect you might face the following problem:
https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/

I would suggest testing the workaround.

Please backup your database before making any changes.