WordPress.org

Forums

Advanced Custom Fields
ACF 3.1.8 broke get_fields() (5 posts)

  1. Briteweb
    Member
    Posted 3 years ago #

    Just updated to ACF 3.1.8, and get_fields( 'options' ) no longer works (for the options page add-on. Looking at api.php, it seems that the options page was forgotten when the options were moved from wp_postmeta to wp_options in the db. The function just returns false if you pass it 'options' as the argument.

    This has pretty much broken the site I am working on, as we are using the options page add-on extensively. Elliot's website is down too, so I can't even contact him for support.

    Anyone know of a workaround?

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

  2. MRWweb
    Member
    Posted 3 years ago #

    Have you upgraded your database yet?

  3. Briteweb
    Member
    Posted 3 years ago #

    Yep. What I'm saying is that the updated get_fields function doesn't accept 'options' or 'option' as the argument, only a post id, so there is no way to grab all of the values entered on the options page at once.

  4. Briteweb
    Member
    Posted 3 years ago #

    It seems like an oversight when the plugin was updated, so I'm hoping it gets fixed soon...

  5. Pred88
    Member
    Posted 3 years ago #

    Same problem here. Reverting back to an older version did not solve it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic