Skip Navigation

[Resolved] Date field in intermediary post shows twice on front-end

This support ticket is created 4 years, 4 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 2 voices.

Last updated by Christian Cox 4 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#1402271

deleting post from the intermediary post works fine for editor - I'll use that instead of delete relationship link.
May I ask another question? let me know if I need to open a new ticket...
Concerning an intermediary of mine - the date field, when selecting today's date put's it twice when viewing the results in it's child (not sure about when viewing from adult as I have no need for that)
So - "Track-Client" in a many to many, the intermediary has a date field, when selecting the current day's date it put's it twice when viewed in "client". It only seems to be a problem with the intermediary. In the back end of WP, when viewing "all items" of intermediary the date field is empty for those ones with double dates.
If I go back and re-do the date (selecting today's date) it then works fine.
Thanks!

#1402275
Screen Shot 2019-12-08 at 2.20.06 PM.png

If you edit this Track:
hidden link

In the Tracks Clients relationship panel you can see there is a semi colon, then the date December 5, 2019, in the Date Submitted field. See the attachment here. The same thing can be seen if you edit the Client:
hidden link

I would have to inspect the database to know for sure, but it seems like there's some kind of data corruption going on. Can you tell me how the date was selected? Was this data imported, or did you select the date in one of the related post editors, or directly in the intermediary post editor?

#1402309
Capture.PNG

interesting...
Date not imported.
Are these forum posts private?
I selected the date via an add relationship form that comes up in a modal window via a button on the parent posts page.
If you go to the post on the front (must be logged in) and on the right click the "add client" button. The form comes up in a modal.
That's where the date gets added.
See screen shot .
Thanks!

#1402371

Are these forum posts private?
No the forum is public but any URLs shared in a forum reply will be automatically hidden from other Users for your privacy. I can delete the screenshot I shared if that's a privacy concern.

I'll take a closer look at the relationship form and see if anything unusual stands out.

#1405951

leaving this reply so robot doesn't close.

#1407499

Thanks, I don't see anything unusual in the Relationship Form or in the custom field settings for this date field. I would have to do some deeper investigation to see what's going on here. I don't see any custom code in Toolset > Settings > Custom Code snippets, so I assume any custom code is added in a separate plugin or in the child theme? Can you zip up any custom code so I can inspect it?

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.