Tagged: Post Relationship groups
- This topic has 3 replies, 2 voices, and was last updated 5 years, 6 months ago by
workvista.
-
AuthorPosts
-
-
July 24, 2016 at 12:04 am #7006
workvistaParticipantI am trying the Piklist Post relationship Demo in the “Relate” tab under “Advanced” link.
Steps to reproduce the issue:
1) Enter a demo name, and add a post. See the attachment #1.
2) Click save
3) There are 6 warnings on top. See the attachment #2.
4) The Group Form also does not populate the saved post fields (title and content).Similar error happens when I try to relate a CPT1 to another CPT2.
Is this a configuration issue ? Or am I missing something.
Thanks.
Attachments:
You must be logged in to view attached files. -
July 24, 2016 at 12:05 am #7009
workvistaParticipantI looked at the code in /plugins/piklist/includes/class-piklist-form.php on line 923
if (!is_wp_error($object) && is_object($object) && $allowed) { array_push($return, $object->$field['field'] ? $object->$field['field'] : $field['value']); }Looks like there is no attribute $object->$field[‘field’] in the post object.
-
July 25, 2016 at 10:47 am #7015
SteveKeymaster@workvista– I just tested and can’t reproduce. Working fine for me. Can you try disabling other plugins and switch to the default theme just to see if there are any conflicts?
-
July 27, 2016 at 1:09 am #7030
workvistaParticipantHi Steve,
I deactivated all the plugins (I just have piklist enabled now) and also tried changing my theme. The warning still show up.
Can you paste the screenshot of your relate – advanced demo. In addition to the warnings, the add mores (ones which were already added) also show up empty. Is that expected ?
-
-
AuthorPosts
- You must be logged in to reply to this topic.