Skip Navigation

[Resolved] WP All Import – Importing connection to existing relationships

This thread is resolved. Here is a description of the problem and solution.

Problem:

How to use the WP All Import plugin to import a connection to existing relationships?

Solution:

You can follow our document to import the CSV file:

Relevant Documentation:

https://toolset.com/course-lesson/import-posts-from-csv-with-relationships-using-wp-all-import/

This support ticket is created 2 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by Lime Valley 2 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#2337051
Screen Shot 2022-04-08 at 9.50.44 AM.png
Screen Shot 2022-04-08 at 9.18.28 AM.png

I'm trying to use the WP All Import plugin to import a connection to existing relationships, but it isn't working.

I have "Conference Presenter" and "Conference Presentation" post types. I have a relationship set up between them called "Conference Presentation Presenter Hub".

The conference presentation "Test Conference Presentation" (hidden link) has two presenter hubs set up, "Presentation 101975 - Bob MacDonald" and "Presentation 101975 - John Doe".
I am trying to connect thee corresponding conference presenters to each of those presenter hubs:
hidden link
hidden link

I'm using this import on the conference presenters:
hidden link

The following error occurs in the import logs, and the presenter hubs remain without their conference presenters:
[14:20:35] UPDATING `John Doe` `Conference Presenter`
[14:20:35] Toolset Types ADD-ON:
[14:20:35] - Deleting relationships from conference-presenter_conference-hub
[14:20:35] - Importing relationship to conference-presenter_conference-hub
[14:20:35] -- Importing relationship Post ID 101978 => Child ID 101975
[14:20:35] -- Current parent cardinality: The element has a wrong type or a domain for this relationship.
[14:20:35] -- Maximum cardinality achieved, not importing relationship

I'd really appreciate some help. If you would like access, I can provide a username and password you can use.
Thank you!

#2338637

Hello,

According to the import logs you provided above, this line:

[14:20:35] -- Current parent cardinality: The element has a wrong type or a domain for this relationship.

It conducts the problem, you need to make sure both parent post "101978" and current child post "101975" are using correct post types:
- Conference Presenter
- Conference Presentation

More help:
https://toolset.com/course-lesson/import-posts-from-csv-with-relationships-using-wp-all-import/

#2339945

My issue is resolved now. Thank you!