I have just one custom field and it seems to be ok for me, but for my writer (other user) it doesn’t show. I’ve changed the role to admin and I tried to see if it shows to another users, and it shows. It doesn’t just only for this specific user.
What can I do to solve this?
There seems to be some confusion between a “field group” and a “field”. A field group contains 1 or more fields. A field is one item in a group.
A field group will be shown even if it contains no fields.
From your response I am going to assume that you mean the field group is not being shown. If this is the case then the first thing I’d check is the “Screen Options” (tab at the top right of the edit screen) and make sure that the check box for the group is ticked.
Well, the entire field grou is not being shown only for one user.
I made this video for you: https://www.loom.com/share/26097142a4c14d5cb9bf635d5f873694
At this point I’m stumped. I would start with basic debugging stuff, deactivating other plugins, trying a different theme, etc, to see if I could narrow down the problem. All I can think of is that there is a filter somewhere causing the issue, but why it would only affect one user? No clue.
I had a similar issue. In the end a coworker had the idea of comparing the user meta for the affected user and a new user where it worked.
I could then solve it by deleting two entries in the wp_usermeta for that user (Keys: “meta-box-order_page”, “meta-box-order_post”).
I think in my case this was somehow messed up during the update from Classic Editor to Gutenberg Editor.
Super strange but @hhenning‘s suggestion helped lead me in the right direction, too.
I removed those entries “meta-box-order_page” and “meta-box-order_post” but did not have success. I also found an entry called “metaboxhidden” and in the meta_value is clearly had an ACF field group key. Once I removed that the ACF fields appeared for that user.
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.