Support » Plugin: Advanced Custom Fields » [Plugin: Advanced Custom Fields] Duplicated field groups in edit page

  • Resolved Hesadanza

    (@hesadanza)


    I have v3.3.6 of Advanced Custom Fields installed, and only one field group. When I go to the edit post screen, I get two sections for that field group, with nearly the same fields in them both. Putting data into one field group only partially works. I have to put some of the data in the other group in order for all fields to work. This seems like a bug. Any ideas why I’d be seeing the group twice in the edit screen?

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author elliotcondon

    (@elliotcondon)

    Hi Hesadanza, This is very odd.

    Can you provide some screenshots?

    Thanks
    Elliot

    Yes, it is odd.

    Here is a screen shot showing the field group duplicated:
    http://i.imgur.com/QV6Bi.jpg

    You can see that not every field in the group is duplicated; two of the text fields are not duplicated in the second group.

    Again, I only have one field group.

    Plugin Author elliotcondon

    (@elliotcondon)

    Hi Hesadanza,

    Is it possible that you have a field group registered with PHP?

    ACF will load the registered field groups + the normal field groups, thus looking like a duplicate.

    How would I have a field group registered with PHP? I haven’t done anything else with custom fields.

    Plugin Author elliotcondon

    (@elliotcondon)

    Any chance you can create me an account and email the details to support [at] advancedcustomfields.com

    Thanks

    Ok.. what role do you need?

    Plugin Author elliotcondon

    (@elliotcondon)

    Idealy, an admin would be the best, but an editor will be able to see the edit screen for both the post and the field group.

    I just want to take a look at the markup with firebug and see what acf is doing

    ok, I just added a user to the account for you. You should receive an email. When you add a new post, you’ll need to select the “Article” category in order to trigger the field group, and two will show up. The second will be empty. If you save the draft, and reload it, both field groups will display most fields.

    Plugin Author elliotcondon

    (@elliotcondon)

    Just took a look and in the post edit screen, there are 2 acf field groups waiting to show (when you click the article category).

    The id of the second field group was “acf_5018c894a82d4”, this backs up my thought that you have a field group registered via PHP.

    Maybe your theme uses acf to add a field group? Or maybe someone has placed the code in your functions.php file?

    How do you register field groups via PHP? I haven’t done so. I’m using Twenty-Eleven theme. I haven’t placed anything extra in the functions, I don’t think.

    Plugin Author elliotcondon

    (@elliotcondon)

    Can you please change my account role to administrator.

    Then, I can view your theme files and help you out

    Ok, you are now an admin.

    Plugin Author elliotcondon

    (@elliotcondon)

    I looked at your functions.php file and on line 619 is the register field group function.

    Ok, I guess I did add those. Do I just need to remove those from functions.php?

    Plugin Author elliotcondon

    (@elliotcondon)

    yes

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin: Advanced Custom Fields] Duplicated field groups in edit page’ is closed to new replies.