Skip to content Skip to sidebar

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

Problem:
The client reported that after migrating their site, additional languages (Dutch, French, and German) disappeared, and the settings menu showed a critical error preventing the addition of new languages. The language menu on the homepage also disappeared.
Solution:
We resolved the issue by performing the following steps:
1. Navigated to WPML->Support->Troubleshooting and ran the option to repopulate the icl_languages database table.
2. Went to WPML->Languages to add new languages and reactivated the previously used languages.
3. To reactivate the default English language, we inspected the element by right-clicking on the language box, then in the HTML code, we removed the attribute

disabled="disabled"

.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 the problem persists, please open a new support ticket.

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

Last updated by Bobby 1 year, 3 months ago.

Assisted by: Bobby.

Author Posts
October 22, 2024 at 3:06 pm #16318166

Bart

Background of the issue:
I set up the site several years ago using WPML, but lately, the additional languages have disappeared. The site is hidden link.

Symptoms:
The additional languages (Dutch, French, and German) have disappeared. The settings menu gives a critical error, and no new languages can be added through the interface. The regular language menu on the homepage has disappeared.

Questions:
How can I restore the disappeared languages on my site?
What could be causing the critical error in the settings menu?
How can I add new languages through the interface again?
Why has the language menu on the homepage disappeared?

October 22, 2024 at 9:43 pm #16319486

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

You said that there are missing languages, when you go to WPML->languages do you see your languages listed there or is it blank?

Please share a screenshot of that section if possible.

Were any changes done recently to the site or the plugin that could be causing these issues? Was the site recently migrated?

October 23, 2024 at 2:36 pm #16322402

Bart

languages > blank - no languages are shown.
And yes, the site was recently migrated from Siteground to NameHero. Otherwise, no changes were made.
Thanks in advance, Bobby,
Please help me out.
Cheers,
Bart

Screenshot 2024-10-23 163456.png
October 23, 2024 at 6:58 pm #16323350

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi Bart,

Thank you for the screenshot! Let's fix this and see if it resolves the issues you are having with WPML.

1. Go back to WPML->languages and click on "edit languages"

2. Select all your languages that were active previously

You will notice the default language will be 'greyed' out

3. Hover over right the box -> right click and inspect -> in the HTML you will see an attribute for "disabled=disabled", highlight and delete it

once done you will be able to select it.

4. Select the default language and save

This should resolve it.

Let me know your results, please.

October 24, 2024 at 10:24 am #16325534

Bart

Thanks, Bobby,
However, no languages are present or available in the edit languages section. See screenshot.
Your help is appreciated!
Bart

Screenshot 2024-10-24 122150.png
October 24, 2024 at 7:50 pm #16328301

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi Bart,

This looks like a database-related issue.

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

October 25, 2024 at 1:39 pm #16330951

Bart

[removed]

October 25, 2024 at 6:05 pm #16331940

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you, I was able to fix it by doing the following:

- WPML->Support->Troubleshooting-> Run the option to repopulate the icl_languages database table (it will no longer show as it is now fixed)

- WPML->Languages->Add new languages and select the previously activated languages.

To activate the English language (default) I used these steps _> Hover over right the box -> right click and inspect -> in the HTML you will see an attribute for "disabled=disabled", highlight and delete it.

October 26, 2024 at 11:53 am #16333247

Bart

Dear Bobby,
Your help is greatly appreciated!
Everything appears to be working correctly.
Thanks so much.
Greetings,
Bart