What I´m trying to achieve:
Export Custom Post Types (CPT), Taxonomies, Custom Fields and Relationships ( Between CPTs) created using Toolset in wordpress website 1 and import them in wordpress website 2.
I used 'Toolset -> Export / Import page' to export from website 1 and import in website 2.
Then used Tools -> Import to import content in website 2.
When I went back to Toolset -> Export / Import page in website 2 to import the post relationship associations from the Associations tab, I see the error "382 Associations can´t be imported" with the button "Remove broken associations from import list" . These are the new Grants(CPT) with already existing Funders(CPT).
Also now when I check the Grants (CPT) , I could see the new ones with all the taxonomies , custom fields and content but can´t see the relationship with Funders (CPT). Please see the attached screenshots for reference.
Kindly let us know how to proceed. Looking forward for your response.
Hello. Thank you for contacting the Toolset support.
I just run a test and first I exported the Types structure from the source site from: Toolset => Export/Import and Exported the Types structure.
Then I've imported the Types structure to destination site from: Toolset => Export/Import and Imported the Types exported file and clicked on "Review and Import" and imported Types structure that helps to import Custom post Types, custom fields, post-relationship, taxonomy structures.
After that I navigate to the source site exported the content (post types) from: Tools => Export and exported the required post-types and later imported it to desitnation site and I can see it working as expected.
Earlier I had tried importing the content(Tools-Import) and then the structure(Toolset-Import), so maybe that was the reason for above error. Afterwards, I deleted the content (which I got from Tools-Import) and followed the same steps as you mentioned. It´s working but I can still see the "Associations can´t be imported" error for the previous ones even though I click the button "remove broken associations from import list". Is there any other way I can remove these.
Also, we just tried exporting a CPT from our website with Tools- Export (to export the content) but received the error "There has been critical error on this website". We checked the site admin email inbox but didn´t receive any mail regarding this error. We were trying to export a Custom Post Type having around 5000 count. Please refer attached screenshot for error.
Could you let us know how we can export the Custom Post Type with huge data from website 1 and import it in website 2.
You may try to use WP ALL Export to export the content and then WP ALL import to import the content.
Importing 5000 items at a time is really huge task, you may check with import/export plugin expert what are the exact requirement to export/import such huge amount of content. Maybe you can try to export/import in small chunks.