Overview of the Issue
In a WordPress website with WooCommerce installed, if you are attempting to automatically translate Elementor Templates in bulk, you may face an issue where the translation process becomes stuck and leaves some templates untranslated.
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.
Please, make sure of having a full backup of your site before proceeding.
- Add the following code into your functions.php file.
add_action( 'rest_api_init', function () { if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) && ! function_exists( 'wc_print_notices' ) ) { function wc_print_notices() {} } } );