Skip to content Skip to sidebar

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

Problem:

The client is unable to add Georgian as a language to your website, which already supports over 50 languages. The process never completes and continues indefinitely.

Solution:

We recommend increasing the PHP setting max_input_vars to 10,000. This adjustment should resolve the issue with adding Georgian as a custom language, which occurs due to the large number of languages configured on the site.

For instructions on how to change max_input_vars, please refer to this article:

https://wp-staging.com/increase-php-max-input-vars-limit-in-wordpress.

If you need assistance with this setting, please contact your system administrator or hosting provider.

If this solution does not apply to your case, 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. Should you need further assistance, 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 contains 5 replies, has 0 voices.

Last updated by Bigul 4 days, 10 hours ago.

Assisted by: Bigul.

Author Posts
September 8, 2025 at 4:07 pm #17384319

akakiT

Background of the issue:
I am trying to add Georgian as a language to my website, which already has over 50 languages. The issue can be seen on this page: hidden link.

Symptoms:
When I try to add Georgian, it never loads and the process continues indefinitely. I have successfully added custom languages on websites with fewer languages, but it does not work on our main website.

Questions:
Why can't I add Georgian as a language when I already have 50+ languages?
Is there a limit to the number of languages I can add with WPML?

September 8, 2025 at 6:21 pm #17384907

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to assist you in resolving the issue.

Please let us know the language code you are using when adding Georgian as a custom language.

Please share the WordPress debug.log (not the WPML debug information) with us so we can gather more details on this issue. Refer to the following links for instructions.

https://wpml.org/documentation/support/debugging-wpml/

https://wordpress.org/documentation/article/debugging-in-wordpress/

To enable WordPress Debug log, open your wp-config.php file of the site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
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 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug (adding Georgian language) and check if you are getting any errors or warnings related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me with that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

--
Thanks!

Bigul

September 9, 2025 at 7:28 am #17385775

akakiT

1) See the language codes in the screenshot.
Code: ka
Default locale: ka_GE
Hreflang: ka

2) See screenshots attached just in any case.

3) See logs attached here: hidden link

Our logs are huge, over 6mb unzipped and we were unable to paste in that tool. Does this wokr?

Let us know what we can do. Thx.

Screenshot 2025-09-09 at 09.23.01.png
Screenshot 2025-09-09 at 09.21.40.png
September 9, 2025 at 11:58 am #17386976

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates and for sharing the debug log. It shows the following warnings related to WPML:

Warning: Undefined array key "default_locale" in /wp-content/plugins/sitepress-multilingual-cms/menu/edit-languages.php on line 967

Warning: Undefined array key "tag" in /wp-content/plugins/sitepress-multilingual-cms/menu/edit-languages.php on line 967

We have a request. Please increase the PHP setting max_input_vars to 10,000. Afterward, add Georgian as a custom language and check if the issue persists.

For instructions on changing max_input_vars, please refer to the following article or contact your system administrator or hosting provider for assistance.

hidden link

--
Thanks!

Bigul

September 9, 2025 at 5:26 pm #17388376
akakiT

This issue is resolved, but we have another one, please see attached screenshots and debug.log zipped file: hidden link

New threads created by Bigul and linked to this one are listed below:

https://wpml.org/forums/topic/menu-sync-is-not-working-2/

Screenshot 2025-09-09 211545.png
Screenshot 2025-09-09 211723.png
September 10, 2025 at 4:17 am #17389107

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. Glad to hear that adding a custom language is now working as expected.

I have created a new ticket for the Menu Sync issue to make follow-up easier and to avoid mixing multiple issues in a single thread, will get back to you soon in the new ticket.

--
Thanks!

Bigul