Skip Navigation

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

Problem:
The client is experiencing an issue where clicking on 'Update domain name in language switcher settings' results in an error message: 'Domain name update has been failed'.
Solution:
We recommend the client to enable the debug log to identify the underlying problem. To do this, the client should modify the

wp-config.php

file by changing the line

define('WP_DEBUG', false);

to

define('WP_DEBUG', true);

and adding

define( 'WP_DEBUG_LOG', true );

. This will save the errors to a

debug.log

file in the

/wp-content/

directory. For detailed instructions, please refer to our documentation on debugging WPML.

After enabling debug mode, if the issue persists and the solution provided here is not helpful due to being outdated or not applicable to your case, we suggest opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.

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 1 reply, has 2 voices.

Last updated by Andrey 11 months, 2 weeks ago.

Assisted by: Andrey.

Author Posts
March 14, 2024 at 3:55 pm #15411408

CHRISTOS VASILOPOULOS

also when i click on
Update domain name in language switcher settings
I get: Domain name update has been failed

March 14, 2024 at 4:05 pm #15411433

Andrey
Supporter

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

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

Please upload the screenshot showing the issue. Could you please activate the debug.log to check what is there when you get the error message?

You can add a few lines to the site’s wp-config.php file. With the error log enabled, you might see what the actual problem is.

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

define('WP_DEBUG', true);

In order 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 );

In this case, the errors will be saved to a debug.log log file inside the /wp-content/directory.

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

Let me know what you see after the debug mode has been enabled.