Viewing 5 reply threads
  • Author
    Posts
    • #7485
      girindev
      Participant

      When I use the functionality of https://piklist.com/learn/doc/replacing-wordpress-post-editor/ , the editor does not save the data. Along with this I am getting errors http://prntscr.com/d271rc . The same errors appear in demo data created by the plugin. I have tried to turn off all other plugins – the errors still remain. Could you please advice what can be the cause and how can I resolve this issue? Thanks

    • #7524
      Jason
      Keymaster

      @girindev: WordPress 4.6 broke the ability for Piklist to fields to write directly to post fields (e.g. post_content, post_title, etc.). The bug has been fixed but we need to release a version of Piklist with the fix. I’ll try to push this along.

    • #7528
      mcmaster
      Member

      Thanks, @Jason, that would be great! It’s a problem for several of my sites as well.

    • #7569
      Stephen
      Participant

      I take it this is not working in the latest release? I am using WP 4.6.1 and notice that the editor DOES save the info to the post table (I looked at it via SQL), but it will not retrieve it when going to edit the post in the admin (at least in my custom post type)

    • #7570
      Stephen
      Participant

      Or is there a simple workaround or code snippet change you can post here, and I can apply it myself? Thanks!

    • #7571
      Stephen
      Participant

      nevermind, found the fix in this thread:

      https://piklist.com/support/topic/error-when-replacing-editor-and-specifying-scope-as-post/

      Which is to go to line 923 in class-piklist-form.php and change it to:

      array_push($return, $object->{$field['field']} ? $object->{$field['field']} : $field['value']);

      hope this helps others! And thanks for an amazing product, I am really loving Piklist.

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