Skip Navigation

[Resolved] Export/Import Toolset CPT and Relationships using Toolset Export/Import

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 1 voice.

Last updated by jum 2 months, 4 weeks ago.

Assisted by: Minesh.

Author
Posts
#2800370

jum
website_2.png
website_1.png
Error_in_Associations_Tab.png

Hi Team,

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.

To do this, I followed below Toolset documents:
https://toolset.com/documentation/legacy-features/export-import/modules-exporting-and-importing/
https://toolset.com/documentation/legacy-features/export-import/exporting-and-importing-toolset-components-and-settings/

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.

Regards,
Jyoti

#2800427

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.

Have you tried the same steps?

#2800428

jum
critical_error.png

Hi Minesh,

Thank you so much for your response!

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.

#2800640

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

With such a large amount of content you may would like to check the following Doc:
- https://toolset.com/course-lesson/how-to-import-content-into-wordpress-using-csv/

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.

#2800722

jum

Hi Minesh,

Thank you so much for your assistance. Will check on the details provided by you.