WPML
Status
Open
Reported for
WPML Multilingual CMS 4.9.0
Topic tags
Bug

Overview of the issue

If you use a large number of languages, you may experience PHP warnings or be unable to add or edit languages in WPML > Languages > Edit Languages.

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

Workaround

You can resolve this issue by increasing the max_input_vars value in your server’s PHP configuration.

We recommend increasing it to at least:

max_input_vars = 10000

After increasing this limit, you should be able to add or edit languages without warnings.

All known issues →