Skip to content Skip to sidebar

Tagged: 

This topic contains 0 reply, has 1 voice.

Last updated by stevenB-35 1 year, 9 months ago.

Assisted by: Carlos Rojas.

Author Posts
August 1, 2024 at 11:29 am

stevenB-35

Background of the issue:
On the WPML settings screen, I try to activate the 'Translate everything automatically' option. This is however not working. The button to confirm stays spinning, and I get an error in my browser console: Uncaught (in promise) TypeError: Reduce of empty array with no initial value at Array.reduce (). I found this thread: https://wpml.org/forums/topic/my-product-ar-not-translated-all/page/2/ which I tried on my installation. But removing the WPML(post_type) key from wp_options does not resolve the problem on my installation.

Symptoms:
The button to confirm 'Translate everything automatically' stays spinning, and I get an error in my browser console: Uncaught (in promise) TypeError: Reduce of empty array with no initial value at Array.reduce ().

Questions:
How can I resolve the issue with the 'Translate everything automatically' option not working?
Why does the button to confirm stay spinning?
What does the error 'Uncaught (in promise) TypeError: Reduce of empty array with no initial value at Array.reduce ()' mean?
Is there another solution besides removing the WPML(post_type) key from wp_options?