Can't save Post Relationship Field after update post
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/
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.
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.
Escalated this issue to our 2nd tier supporters.
My issue is resolved now. Thank you!
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.