Skip Navigation

[Gelöst] WP All Import – Importing connection to existing relationships

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 2 Jahren, 7 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Lime Valley vor 2 Jahren, 7 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#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" (versteckter 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:
versteckter Link
versteckter Link

I'm using this import on the conference presenters:
versteckter 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!