Hi @intershop
why the last days all my imports stop at 99% and say failed ? products are imported ok, products are deleted ok , but THE IMPORT never finishes . why ?
If you’re importing WooCommerce Products, it could be failing when recounting terms at the end of the import – try adding this snippet to your child themes functions.php file:
add_filter('wp_all_import_recount_terms_after_import', 'wpai_wp_all_import_recount_terms_after_import', 10, 2);
function wpai_wp_all_import_recount_terms_after_import($is_recount_terms, $import_id){
return false;
}
If that works, you’ll need to manually recount the terms after the import (WooCommerce > Status > Tools > Recount terms).
If it doesn’t help, you’ll need to contact your web host and ask them to check the error logs on your server to find what’s causing the termination: https://gist.github.com/mbissett/d98d1acdf4b2ba11bc67d6f652d4497c.
Let me know what you find out.