WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.4.10
Resolved in
4.4.11

Overview of the issue

If you go to your WordPress site’s user profile, WPML enables the option to Set admin language as editing language  .

However, if you select this option but you also select the All languages from the top bar language switcher you will get this error:

Uncaught TypeError: Argument 1 passed to WPMLElementAPILanguages::WPMLElementAPI{closure}() must be of the type array, bool given in /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/core-api/core/Languages.php:205
This combination of settings causes an error

Workaround

Please edit your site’s user profile and uncheck the Set admin language as editing language option.

All known issues →