Ideal way to sync data from a 3rd party api into wp site

[ad_1]

Hey all!

Recently I have been working around data synchronization between Woocommerce and a 3rd Party API that manages products, categories, product tags, and media.

This 3rd Party API contains around 5k products and I have been running into an issue where the data sync stops all of a sudden. Such examples are:

– PHP Fatal error: Allowed memory size of …
– PHP Notice: Array to string conversion in …wp-includes/functions.php line 3919
– Max execution time…

I have tried batching the products, I have tried adding a wait between batch. I have increased script exec time. And I have come to a point were I don’t know what I should do to handle this.

Do you have experience in synching data? How did you handle this sync?

Any help would be greatly appreciated!

Thank you!

[ad_2]
4 Comments

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer