This thread is resolved. Here is a description of the problem and solution.
Problem:
Fatal error when editing Languages
Solution:
Actually, the problem was coming due to "Site is Moved or Copied" message on top of the page. Since it is a staging site, I selected "This is a copy of my original site" and saved.
Before proceeding further, may I ask you to try the following?
IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.
- Deactivate all plugins except WPML and its addons and check for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any.
- If the problem persists, repeat the above steps with a default theme of WordPress (i.e. 2023).
- Also check the browser's console for any JavaScript errors. If you find any, copy that in your next reply. See https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/ for details on how to find these errors.
If none of the above mentioned helps resolving or pinpointing the problem, also try the followings by using one of your preferred method to reinstall WPML plugins:
Steps to reinstall plugins manually from Plugins page:
1) Deactivate existing WPML plugins
2) Delete WPML plugins
3) Download latest versions from https://wpml.org/account/downloads/
4) Upload using Plugins -> Add New -> Upload
5) Activate
Steps to reinstall plugins manually via FTP:
1) Deactivate existing WPML plugins.
2) Connect to your site via FTP and browse to the /wp-content/plugins/ folder.
3) Delete WPML plugins folders.
4) Download the latest versions from https://wpml.org/account/downloads/.
5) Unzip the downloaded files in separate folders, usually when you unzip the file, it creates a folder with the name of the plugin, with zip file's content extracted into it.
6) Upload the extracted (unzipped) folder via FTP, to the /wp-content/plugins/ folder.
7) Go to WP Admin -> Plugins and Activate.
Please let me know if this helps resolve the issue. Or I'll try my best to further assist you on the matter.
May I ask for admin access to your website to check the issue in detail? You can create a separate admin user for this purpose, which can be deleted afterwards.
Also provide following detail to investigate/observe the issue:
- detailed steps to reproduce the issue
- links to pages in admin and on frontend
- screenshots or screen recording if needed to explain
- any other relevant information to observe/investigate the issue
Remember to take full backup of your website and database before proceeding. However, a staging/test site is highly recommended, because I may need to try some changes/fixes on the site, which may cause conflicts with the live site otherwise. Please confirm it in your next reply or let me know if you do not agree with the mentioned.
I've set your next reply as private to share this information safely.
IMPORTANT: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.
Before continuing on the site, I'll also need your confirmation and approval on each of the followings:
1) Is this a Live/Production or Staging/Dev site?
2) Is it OK to work on this site?
3) Is it OK to try some changes/fixes on the site and/or activate/deactivate/install a plugin on the site, which may cause conflicts with the other parts of the site?
4) Have you taken full backup of your website and database?
Thank you for providing the access and confirmations. I was able to see and fix the problem.
Actually, the problem was coming due to "Site is Moved or Copied" message on top of the page. Since it is a staging site, I selected "This is a copy of my original site" and saved.
After that page reloaded itself and most of the languages had their mappings, except the custom ones. So I simply saved and it went fine, means no fatal error.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.