Resolved
Reported for: Toolset Forms 1.8.5
Resolved in: Toolset CRED 1.8.6
The issue happens when creating a new post with a CRED form for a post type that has Types parent relationship with another post type. In this case, if no parent is selected, a zero (0) is stored in the database for this post’s parent meta key.
This breaks conditional shortcodes, as, normally, no such post meta key should be stored in the database, when a post has no parent. For consistency, CRED forms should follow this practice.
This issue will be fixed in the next release of Toolset CRED
In the meantime, you can download this file, extract it and replace From_Builder_Helper.php
file in the /plugins/cred-frontend-editor/embedded/classes/
folder.
Please remember to keep a backup of your site and database before doing this.