Viewing 3 reply threads
  • Author
    Posts
    • #7006
      workvista
      Participant

      I 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.
    • #7009
      workvista
      Participant

      I 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.

    • #7015
      Steve
      Keymaster

      @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?

    • #7030
      workvista
      Participant

      Hi 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 ?

Viewing 3 reply threads
  • You must be logged in to reply to this topic.