Home › Forums › Bug Reports › Notice: Undefined index: value (…)\core\location.php on line 397 › Reply To: Notice: Undefined index: value (…)\core\location.php on line 397
There are also other methods of doing what you’re attempting to do, for example, setting an location rule that requires two (
AND) things that cannot possibly happen at the same time, like a post being equal to 2 different posts, or the post type being equal to 2 different post types.
The main issue with doing it this way instead of setting a field group to inactive is that ACF takes the time to go through the process of seeing if the groups should be shown, which is an unnecessary process that takes time and reduces performance. When you set the group to inactive then there is no wasted time as ACF tests to see if the field group should be shown.
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!
We’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.