Skip Navigation

[Gelöst] Source Post Title from Related Post Source returns 'no content' in View Loop

This support ticket is created vor 3 Jahren, 8 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

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

Zuletzt aktualisiert von Anthony vor 3 Jahren, 8 Monaten.

Assistiert von: Shane.

Author
Artikel
#1984171
Screenshot 2021-03-12 at 19.21.52.png
Screenshot 2021-03-12 at 19.30.47.png

I am trying to: display the Post Title from the Related Post (Artist CPT) of Product CPT in View Loop

Link to a page where the issue can be seen: versteckter Link

I expected to see: the Post Title from the Artist CPT which has a one-to-many relationship with the Product CPT

Instead, I got: "This dynamic source returned no content."

#1984375

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Anthony,

I saw that you have quite a few plugins installed on your site.

In order to ensure that this issue isn't being caused by a plugin conflict I would recommend that you temporarily disable all your non-toolset plugins and check again to see if the issue still remains.

If the issue is still there after doing this please let me know and I will have a further look at this for you in more detail.

Thanks,
Shane

#1984405

Hi Shane. I've been a lifetime subscriber to Toolset for eight years. I've filed many support tickets; you've even helped me on a number of them. I'm not a newbie, and I don't need to be reminded every time I open a ticket that I should do the obvious things first like checking for plugin or theme conflicts. Asking for this response every time just introduces an unnecessary delay in getting the issue dealt with. Please go ahead and look further at this issue at your earliest opportunity.

#1984457

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Anthony,

I took a copy of the site so that I have a safe environment to work in. What I've found is that your Artists and Products where connected in a One to Many Relationship with an Intermediary Post Type which shouldn't be possible. It would appear that this was a Many to Many relationship previously but somehow when it was changed to a One to Many it retained its intermediary CPT.

I was able to fix the issue with the relationship but this would mean the intermediary CPT Featured Artist will be deleted. With the current setup you can only display the Parent title when the Relationship is a One to Many.

Here is how I was able to get the Relationship setup correctly:
1. Go to Toolset -> Relationships and edit the "Release Artist" relationship.
2. Change it to a Many to Many and hit save.
3. Change it back to One to Many and you will be given a prompt with a warning message. If you want to proceed you can click on the confirmation notice i.e Apply/Save
4. This will then run and delete the intermediary post type and update the relationships to a one to many.
5. Once you've done this then your parent title should now start showing on the view on the frontend. If not just go back to your view and setup your Heading block dynamic content once more to pull the information from the Parent post.

<b>NOTE</b> Please backup your site before proceeding with this. In the duplicate of your website that I tested locally none of the relationships were affected and the view on the frontend displayed the Parent title as intended. However backing up will ensure that you have a copy to return to should things not go as smoothly as it went for me.

If there are any issues or concerns please let me know.

Thanks,
Shane

#1984513

My issue is resolved now. Thank you!