Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 3 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 10 months ago.

Assisted by: Mohamed Sayed.

Author Posts
July 15, 2023 at 11:55 pm #14043493

muhamedF

Hi WPML Support,

When trying to configure WPML for the first time, I am running into an issue where I cannot choose the default nor the translation languages from the drop-down menus in the firs step of the setup .. Please see attached screenshots ..
I already tried going to the Troubleshooting page and clicking on "Clear language information and repopulate languages" as suggested in the error message I am seeing, however, that did not resolve the issue .. Please advise!

Best Regards,
Muhamed

Screenshot 2023-07-15 at 7.48.04 PM.png
Screenshot 2023-07-15 at 7.46.17 PM.png
July 16, 2023 at 3:45 pm #14045241

Mohamed Sayed

Hi Muhamed,
Thanks for contacting WPML support.

Please create a full backup of the database and website then try the "WPML reset" option by following these steps: https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/#step-3-do-the-wpml-reset

Let me know please if that helps.

Kind regards,
Mohamed

July 18, 2023 at 4:10 am #14054199

muhamedF

Hi Mohamed,

I followed the instruction given on the page you shared with me, I did the reset, deleted all WPML plugins and re-installed them again, however, that did not resolve the issue .. Can you please provide a different solution ...

Best Regards,
Muhamed

July 18, 2023 at 11:36 am #14058779

Mohamed Sayed

Hi,

1. Please increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (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' );

2. Create a full database and website backup first then try the following steps:

- Access your site's root folder via FTP or cPanel
- Delete the current WPML plugin folder "sitepress-multilingual-cms" from the /wp-content/plugins/ directory.
- Download a fresh copy from: https://wpml.org/account/downloads/
- Install it again from Plugins > Add new
- Activate it and check if the issue is resolved

3. If that didn't help, please provide us with the WordPress debug.log, this will allow us to see if any PHP errors are being produced. More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable it, open your wp-config.php file and look for:

define('WP_DEBUG', false);

And change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Then try to reproduce the issue and check if any errors were saved to the debug.log log file inside the /wp-content/ directory
If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!

The topic ‘[Closed] Default and translation language drop-down menus are empty’ is closed to new replies.