WPML

Overview of the Issue

You may encounter that it is not possible to activate the Translate Everything Automatically feature in WPML. Instead, the screen will load indefinitely, and you’ll see this error in the console:

app.js?ver=4.6.9:425 Uncaught (in promise) TypeError: Reduce of empty array with no initial value

This issue arises specifically when all Custom Post Types (CPTs) and taxonomies, are set to Display as translated mode.

Workaround

This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.

This no longer happens on current WPML versions: Translate Everything Automatically turns on when all post types are set to Display as translated. If it still fails after updating WPML, please contact WPML support.

If you cannot update yet:

Go to WPMLSettings page, and set the Posts or Pages post type to Translatable: only show translated items mode instead of Display as translated.

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.

Ask a support question

All known issues