Skip Navigation

[Resolved] Relationship slug showing in text

This support ticket is created 5 years, 1 month 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.

Our next available supporter will start replying to tickets in about 0.43 hours from now. Thank you for your understanding.

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)

Author
Posts
#1365561

Hi Christian, I've parked the dropdown issue for the time being and removed them.

A more pressing issue has come up 🙁

I think there might be a problem with the content template. On display, very often in the thank-you field, it also shows the post relationship and relationship slug contents. I have no idea how this has happened, it's so odd.

What do you think might be causing this? I can report this as a new issue if you would prefer?

Many thanks,
Cat

#1365563
1364953-listing.png

I'm not sure what would be causing this but I can check the site if you provide login access here. Please let me know exactly where I can find the content you shared earlier in this screenshot.

#1365793

I don't see anything obvious. I would need to make a copy of your site to examine the database and see what's going on. Let me know if that's okay and I'll get started as soon as possible.

#1365897

Hi Christian, yes that is ok.

I thought the issue may be CSV Importer Pro, so I uploaded and used WP All Import Pro + Toolset add-on instead, using a test file with a few national-listings. However, the data uploaded was corrupt. By corrupt I mean different fields within the one post related to different posts. The national listing header referred to pet care, the description related to blindness support, the website sent people to a suicide charity. Nightmare.

#1366469
Screen Shot 2019-10-22 at 9.42.03 AM.png

You've got a database corruption issue here. For example, check the postmeta table for all entries related to post ID 18827, "Housing and support for young homeless people":
hidden link

I'm attaching a screenshot here. You can see that there are multiple entries for the wpcf-thank-you field, and one of those entries includes all the slugs. This happens for many of the National Listing posts. So the types field shortcode is displaying all the entries, as it would if the field allowed multiple values. At some point during the export / import process, this data was corrupted, and invalid data was placed in the thank-you field.

#1366497

If I try to upload the data using either CSV Importer Pro or WP All Import, the data is still corrupted - even though it is clean in the CSV file. Do you know what the problem could be?

#1366499

* and how to resolve it?

#1366591

What's your process like? Do you wipe the current database first, then import into a clean DB? Or are you trying to simply import over the current data?

#1366643

The problem was CSV Importer Pro. The plug-in corrupted all the data. When the plug-in is deactivated and data imported via WP All Import, the issue is resolved.

My issue is resolved now. Thank you!