Support » Plugin: ACF Quick Edit Fields » Doen’t work if a field is inside other fied with type “Group”

  • Hi!
    Thank you for good plugin!
    I wont to halp to make the plugin better, so making a bug report 🙂
    When I create a field with type “Group” and inside two text fields, child fields have settings of your plugin.
    I enable settings for child fields and the columns appear in wordpress admin page with all posts.
    Next, I make bulk editing and I can see changes in columns.
    But when I go to edit single post (bulk edited before) there is no change.
    I assume, this is becose meta data for child fields is stored somewhere else then for simple parent fields.
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I faced the same problem so I decided to debug the plugin.

    I found out where the problem was. It was a problem when trying to get the parent group for these kind of fields. To fix it, open the file “Field.php” located into the folder “include/ACFQuickEdit/Fields” of the plugin.

    Then go at line 164 and change it from
    $this->parent = self::getFieldObject( get_field_object( $this->acf_field['parent'] ) );
    to
    $this->parent = self::getFieldObject( get_field_object( $parent_key ) );

    And then it is working ! I hope this fix will be included into the next release. I will also report it in the github repository.

    Jimmy

    Thread Starter kiberchaka

    (@kiberchaka)

    Hi!
    I don’t need it any more by now. But thank you for good work and sharing it with us! 🙂

    Hi @vdbjimmy

    I have tried your code and it works! I can see the group fields now.

    The problem is that the “Quick edit” or the “Bulk edit” don’t work anymore.

    Do you have any solution?

    Cheers mate 🙂

    rogerpz81

    (@rogerpz81)

    Hi again @vdbjimmy,

    Please, ignore my last question.

    Works great!

    Cheers,

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.