• Resolved scraso

    (@scraso)


    Hello,

    First of all I would like to say that your plugin is great and thank you for developed such a great product. I would like to ask about the issue which I faced during the importing products. My import always stuck at 75% after the all products were added to my website. The last record in the journal always says:
    [16:45:07] Cleaning temporary data…
    After 2-3 minutes I got a mnessage that ‘Your server terminated the import process’ and during the next 5-10 minutes my webiste is not acceptable at all. Once the website is up again, I see that all products were added successfully. I contacted the hosting provider and they just said they increased the max execution time to 300 seconds, which should be perfectly adequate for any scripts that need to run. I tried again but the issue remains the same. Please advise what to do. I’m ok untill all my producs are added however the ‘cleaning temporary daya…’ seems something importing and I’m not glad that my website always crashes after this operation.

    Regards,
    Tigran Ammbarcumyan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @scraso

    It sounds like your server is timing out when recounting terms at the end of the import. Please try saving this code snippet on your site and see if it fixes it:

    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 it works, you’ll just need to manually recount the terms after the import (WooCommerce -> Status -> Tools -> Recount terms).

    Let me know how it goes.

    Thread Starter scraso

    (@scraso)

    Thank you for your reply. Well, basically I already imported all products and the amount of products are correct. There was 10-15 minutes downtime when it finished during the cleaning temporary data but as I can see it didn’t affect anything. As soon as I’ll go to import new products, I’ll test it and let you know. For now, we can close the case.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cleaning temporary data…’ is closed to new replies.