Skip Navigation

[Résolu] Can't save Post Relationship Field after update post

This support ticket is created Il y a 5 années et 2 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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)

Ce sujet contient 8 réponses, a 2 voix.

Dernière mise à jour par Luo Yang Il y a 5 années et 1 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1348783

Can't save Post Relationship Field after update post

#1348801

Hello,

The problem you mentioned above is abnormal, please try these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2019, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) 4) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem post/page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1349645

Thanks for the details, I can see the problem in your staging website, and I am downloading the files, will update here if there is anything found.

#1349731

Ok Luo Thank you

#1349799

Here are what I found, the problem only sexists in some specific "Vacature" posts, which are connected to other deleted "Opleidingen" posts, it does not occur when you create new "Vacature" post.

And I can duplicate the same problem in my localhost, and have escalated this issue.

This can be fixed by this:

1) Backup your website database

2) Use MySQL tools, for example PHPmyadmin, in your website database table "wp_toolset_associations", run below SQL query:

DELETE FROM 'wp_toolset_associations' WHERE 'relationship_id' = 47

The number 47 is the custom post reference field "Related specialisation" ID, above SQL query will be able to reset "Related specialisation" settings in "Vacature" posts

3) Edit each "Vacature" post, setup the "Related specialisation" field again.

#1349803

Escalated this issue to our 2nd tier supporters.

#1351403

This issue has been escalated to our developers, you can try the Workaround in below errata:
https://toolset.com/errata/trashing-a-post-reffered-to-by-a-post-reference-field-prevents-the-other-post-from-connecting-to-any-post/

#1351519

My issue is resolved now. Thank you!

#1365195

Here is the feedback from our developers, it will be fixed in future version of Toolset Types plugin, which is under QA status, will be released soon.