This thread is resolved. Here is a description of the problem and solution.
Problem:
After translating a page and selecting the language in the WordPress bar under WPML, you encounter a 500 error and cannot access the language configurations to add, remove, or edit.
Solution:
To resolve this issue, we recommend enabling debugging to identify the underlying problem. Here are the steps to enable debugging:
1. Open your site's
wp-config.php
file.
2. Locate the line
define('WP_DEBUG', false);
and change it to:
define('WP_DEBUG', true);
3. To log errors to a file, add the following line:
define('WP_DEBUG_LOG', true);
This will save the errors to a debug.log file inside the /wp-content/ directory.
For more detailed instructions on debugging WPML, visit https://wpml.org/documentation/support/debugging-wpml/
After enabling debugging, please check the debug.log for errors and share them with us for further assistance.
If this solution does not apply to your situation, or if it seems outdated, 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 you still need help, 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.
This topic is split from https://wpml.org/forums/topic/adding-country-code-pairs-instead-of-language-iso-code/