Skip Navigation

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

Problem:
You are trying to translate your website but cannot find the dropdown menu to select the language in the top right corner.
Solution:
1) Ensure that the translated homepage is correctly translated and published. To verify this, navigate to Pages-> All Pages, switch the language using the top admin bar, and check the translated homepage.
2) Although not directly related to your dropdown issue, it's important to increase the WordPress memory limit as it's currently below the minimum requirement for WPML. You can do this by adding the following lines in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */<br />define('WP_MEMORY_LIMIT', '256M');<br />define('WP_MAX_MEMORY_LIMIT', '256M');

For more details on minimum requirements, please visit WPML Minimum Requirements.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also 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. For further assistance, please contact us 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.

Tagged: 

This topic contains 4 replies, has 0 voices.

Last updated by teamA-3 3 months ago.

Assisted by: Osama Mersal.

Author Posts
March 11, 2025 at 2:09 am #16799097

teamA-3

Background of the issue:
I am trying to translate my website by clicking or moving the mouse to the top right corner, but there is no dropdown menu to select the language. The issue can be seen on this page: hidden link

Symptoms:
There is no dropdown menu to select the language when attempting to translate.

Questions:
Why is there no dropdown menu to select the language when I try to translate?
How can I fix the issue with the missing language selection dropdown?

March 11, 2025 at 4:20 am #16799254

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Please make sure that the translated homepage is translated and published correctly. In order to check that, please go to Pages-> All Pages, switch the language using the top admin bar, and check the translated homepage.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40MB as default. The minimum requirement for WPML is 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

March 11, 2025 at 5:53 am #16799379

teamA-3

I have changed it to 256M, but an error occurred when adding a page language

223311.png
March 11, 2025 at 5:53 am #16799394

teamA-3

Howdy!

WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, WPML Multilingual CMS.

First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

hidden link

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.7.2
Active theme: Woodmart (version 7.6.0)
Current plugin: WPML Multilingual CMS (version 4.7.1)
PHP version 8.0.30

Error Details
=============
An error of type E_ERROR was caused in line 36 of the file /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php. Error message: Uncaught InvalidArgumentException: Unknown column: rid or invalid id: 0 in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php:36
Stack trace:
#0 [internal function]: WPML_TM_ICL_Translation_Status->__construct()
#1 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(415): ReflectionClass->newInstanceArgs()
#2 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(373): WPML\Auryn\Injector->provisionInstance()
#3 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/container/class-wpml-container.php(98): WPML\Auryn\Injector->make()
#4 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php(29): WPML\Container\Container::make()
#5 [internal function]: WPML\Container\{closure}()
#6 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array()
#7 [internal function]: WPML\FP\{closure}()
#8 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/container/functions.php(35): call_user_func_array()
#9 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php(198): WPML\Container\make()
#10 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-jobs/helpers/wpml-update-translation-data-action.class.php(38): WPML_TM_ICL_Translation_Status::makeByRid()
#11 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/actions/wpml-tm-action-helper.class.php(19): WPML_TM_Update_Translation_Data_Action->add_translation_job()
#12 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/wpml-private-actions-tm.php(52): WPML_TM_Action_Helper->add_translation_job()
#13 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1467): wpml_tm_add_translation_job()
#14 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-job-factory.php(112): TranslationManagement->send_jobs()
#15 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(164): WPML_Translation_Job_Factory->create_local_job()
#16 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/jobs/Manual.php(43): WPML\TM\Jobs\Manual->createLocalJob()
#17 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\Jobs\Manual->createOrReuse()
#18 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(103): WPML\FP\Right->map()
#19 /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/class-wpml-translations-queue.php(52): WPML\TM\Editor\Editor->open()
#20 /home7/teamalb2/public_html/wp-includes/class-wp-hook.php(324): WPML_Translations_Queue->load()
#21 /home7/teamalb2/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#22 /home7/teamalb2/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#23 /home7/teamalb2/public_html/wp-admin/includes/class-wp-screen.php(424): do_action()
#24 /home7/teamalb2/public_html/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen()
#25 /home7/teamalb2/public_html/wp-admin/admin.php(212): set_current_screen()
#26 {main}
thrown

March 11, 2025 at 5:57 am #16799396

teamA-3

Do you need me to provide you with a backend account to solve the problem?

March 11, 2025 at 6:03 am #16799400

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please back up your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

March 11, 2025 at 6:41 am #16799461

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. I checked the issue, and it seems that some of the WPML database tables are not created correctly. Since you don't have any translated content yet, I suggest resetting WPML and reinstalling it to fix this issue.

Kindly check this guide to know more about resetting WPML.

Best regards,
Osama

March 11, 2025 at 7:01 am #16799533

teamA-3

After I uninstalled the plugin according to your instructions, I found a prompt There is a problem with the String Translation table in your site. This problem is not causing a problem running the site right now, but can become a critical issue in the future. WPML support team knows how to fix it. Please add a message in the relevant support thread and we'll fix it for you.

March 11, 2025 at 7:05 am #16799537

teamA-3

And now there is a series of error reports Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 179

Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 183

Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 196

Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 198

Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 199

Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 200

Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 251

Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 252

Warning: Trying to access array offset on value of type null in /home7/teamalb2/public_html/wp-content/plugins/sitepress-multilingual-cms/menu/wpml-admin-lang-switcher.class.php on line 252

March 11, 2025 at 7:11 am #16799572

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I fixed the string translation issue. Please check if WPML works correctly.

Best regards,
Osama

March 11, 2025 at 7:22 am #16799581

teamA-3

Unable to load automatic translation options and translation menu

334455.png
March 11, 2025 at 7:24 am #16799597

teamA-3

These locations cannot be loaded

6666.png
5555.png
March 11, 2025 at 7:37 am #16799647

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please clear the site's cache and check if you can see the engines correctly.

Best regards,
Osama

March 11, 2025 at 7:42 am #16799688

teamA-3

OK, it has been restored to normal use. Thanks