Title: ACF v4 error
Last modified: February 27, 2018

---

# ACF v4 error

 *  Resolved [icarleug](https://wordpress.org/support/users/icarleug/)
 * (@icarleug)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/acf-v4-error/)
 * Hello!
 * I got a few errors in the admin interface when trying to use ACF v4.4.12 and 
   after a bit of research I found out that the function names were wrong and that
   there was a ACF v5 available for early access.
    The v5 version worked with wp-
   multilang, I guess they changed the function names between versions.
 * It might be good to mention the ACF v5 requirement on the plugin frontpage though.
 * How to upgrade if you are still stuck on 4:
    [https://www.advancedcustomfields.com/resources/upgrade-guide-version-5/](https://www.advancedcustomfields.com/resources/upgrade-guide-version-5/)
   Note that it will change the look of things, so try on a staging site first…
 * Best Regards,
    Andreas
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Facf-v4-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [VaLeXaR](https://wordpress.org/support/users/valexar/)
 * (@valexar)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/acf-v4-error/#post-10020765)
 * Hi [@icarleug](https://wordpress.org/support/users/icarleug/).
    WP Multilang 
   works with ACF and ACF PRO. ACF v4 ACF v5.6 What an error You have? Can You make
   the screenshot?
 *  Thread Starter [icarleug](https://wordpress.org/support/users/icarleug/)
 * (@icarleug)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/acf-v4-error/#post-10021642)
 * Hello [@valexar](https://wordpress.org/support/users/valexar/)!
 * Actually I first fixed it for v4 so I know exactly where the problem is, at least
   for those errors I found.
    Then I found out that there was a v5, so I updated
   and got the same problem but in reverse, so I reverted to the original file and
   all was well.
 * File: /includes/integrations/class-wpm-acf.php
 * `689: $field_groups = acf_get_field_groups(array(`
    Function does not exist by
   that name in v4, it is called `api_acf_get_field_groups`
 * `715: $fields = acf_get_fields( $field_group );`
    Function does not exist by 
   that name in v4, it is simply called `get_fields`
 * `745: if( acf_is_ajax('add-menu-item') ): ?>`
    Function does not exist at all
   in any form as far as I could find, I commented out 745-757 to make it not return
   an error.
 * Best Regards,
    Andreas
 *  [VaLeXaR](https://wordpress.org/support/users/valexar/)
 * (@valexar)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/acf-v4-error/#post-10021710)
 * Fixed. Update please.
    Thank You for Your review.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘ACF v4 error’ is closed to new replies.

 * ![](https://ps.w.org/wp-multilang/assets/icon-256x256.png?rev=1760406)
 * [WP Multilang - Translation and Multilingual Plugin](https://wordpress.org/plugins/wp-multilang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-multilang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-multilang/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-multilang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-multilang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-multilang/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)

 * 3 replies
 * 2 participants
 * Last reply from: [VaLeXaR](https://wordpress.org/support/users/valexar/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/acf-v4-error/#post-10021710)
 * Status: resolved