I think you are wrong. According to the documentation for the acf_add_options_page() the post ID can also be any string – only the default ist
$args = array( ... /* (int|string) The '$post_id' to save/load data to/from. Can be set to a numeric post ID (123), or a string ('user_2'). Defaults to 'options'. Added in v5.2.7 */ 'post_id' => 'options', ... )
Since I also get the values in other situations (see the 2nd example where I get all color values for the radio field or the 3rd example where I get the value for the other field from the same options page), the code can not be so wrong.
'post-id' was introduced in v5.2.7 I always use this.
Sorry, but this is not the solution…
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!
📣 “ACF Chat Fridays”— Advanced Custom Fields (@wp_acf) January 31, 2023
The ACF team holds their first open office hours this Friday! Come and talk ACF, and ask questions about building sites with the plugin.
We’d love to see you there!
📆 Friday 3rd Feb - 3pm UTC
👉 Register here - https://t.co/3UtvQbE4CU pic.twitter.com/oTwW9K1XQ0
© 2023 Advanced Custom Fields.