Skip Navigation

[Resolved] Tables are duplicated in database at the time of plugin updates

This support ticket is created 3 years, 10 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 1 reply, has 2 voices.

Last updated by Luo Yang 3 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#2007699

We have updated type related content data in each product page. But, it's not updated in wp1_toolset_associations table and also database has two tables in backend 1. wp1_toolset_associations and 2.wp1_toolset_associations_old. These tables are not created by our team , which is created automatically at the time of plugin updates.

And also please let us know how to get and show the type related content in frontend of site. Please refer the screenshot duplicated tables hidden link and type related content section.hidden link

#2008061

Hello,

The database table "wp1_toolset_associations_old" is backup copy of table "wp1_toolset_associations", it is created automatically when you upgrade the Toolset types plugin, and migrate Toolset relationships to the latest version, you can delete it after the upgrading is completed successfully, but I suggest you backup your database first.

For the question:
how to get and show the type related content in frontend of site
Please check our document:
https://toolset.com/course-lesson/displaying-related-posts/

If you are going to display the related posts with PHP codes, please check below document:
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/#toolset_get_related_posts