Home › Forums › General Issues › get_field_object() stop working
I’m trying to get the list of options of all of Select fields but get_field_object(). After plugin update it’s not working anymore.
This code, for example:
<?php
$field = get_field_object('field_5bd98a1641558');
var_dump($field);
?>
Returns bool(false)
Thanks in advance
Same here, it seems there is a problem with acf_maybe_get_field function since 5.7.11 version.

Hi all
Thanks for the email,
Elliot here – ACF dev.
My apologies for the issues in version 5.7.11.
I am confident we have found and fixed the issue.
Can you please re-download the ACF PRO plugin files and test the issue?
An easy way to re-download is to edit the main acf.php plugin file and change the version number ‘5.7.11’ down to ‘5.7.10’
– please note the version number appears twice in this file and both will need to be changed
– after this change is made, please update the plugin as per normal and it will update to 5.7.11 (including the new fix)
Sorry to re-open but get_field_object isn’t working for me in 5.7.13. I was had 5.7.9 then updated to 5.7.13. I it fails in both. I have tried re-downloading with no success.
The topic ‘get_field_object() stop working’ is closed to new replies.
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 use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.