Title: ReferenceError: acf is not defined
Last modified: August 31, 2020

---

# ReferenceError: acf is not defined

 *  Resolved [Apple.WP-Dev](https://wordpress.org/support/users/red-apple/)
 * (@red-apple)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/)
 * I see an issue with an ACF error when I am trying to edit the page with Elementor(
   Free version). Here the steps I did.
 * 1. download a fresh WordPress file from WordPress.org
    2. install on my locahost
   3. install ACF pro v.5.9.0 4. install Elementor v.3.0.5 5. open a “Sample Page”
   page which is a default page from WordPress 6. Edit the page with Elementor 7.
   see the error at the console tab in Chrome as “ReferenceError: acf is not defined/
   wp-admin/post.php?post=2135&action=elementor”.
 * If I disable the ACF plugin, the error is gone. I am wondering the error may 
   come from the Elementor plugin. The error means the acf is called before the 
   acf JS file is loaded.
 * I test by using the ACF plugin with Gutenberg, Beaver page builder and SiteOrigin
   page builder. I don’t see any acf error.
 * As I know the Elementor plugin supports the ACF plugin since ACF version 5.
    
   [https://docs.elementor.com/article/381-elementor-integration-with-acf](https://docs.elementor.com/article/381-elementor-integration-with-acf)
   [https://docs.elementor.com/article/452-which-widgets-support-acf-and-pods-custom-fields](https://docs.elementor.com/article/452-which-widgets-support-acf-and-pods-custom-fields)
 * Please check this issue. For the moment, I don’t use any ACF fields on the page
   with Elementor because this error.
 * Thanks,
    AR

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

 *  [frankyltech](https://wordpress.org/support/users/frankyltech/)
 * (@frankyltech)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13342203)
 * We are seeing the same error with the same plugin versions. Maybe bug in v3 elementor?
 *  [Saulo Padilha](https://wordpress.org/support/users/spadilha/)
 * (@spadilha)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13343017)
 * Same here.
 *  [copar33](https://wordpress.org/support/users/copar33/)
 * (@copar33)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13343211)
 * Same too
 *  [gabhelper](https://wordpress.org/support/users/gabhelper/)
 * (@gabhelper)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13343311)
 * Thank you for reporting.
 * This needs to be reported to ACF support as well as they might already have a
   solution for this.
 *  [Thomas_bck](https://wordpress.org/support/users/thomasbrunck/)
 * (@thomasbrunck)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13343550)
 * Same for me !
 *  Thread Starter [Apple.WP-Dev](https://wordpress.org/support/users/red-apple/)
 * (@red-apple)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13343872)
 * [@gabhelper](https://wordpress.org/support/users/gabhelper/)
    I already reported
   to the ACF plugin developers and they said they will look at the issue. Hopefully,
   this issue will fix soon.
 *  [doofusdavid](https://wordpress.org/support/users/doofusdavid/)
 * (@doofusdavid)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13348057)
 * Here as well, would love to hear the solution!
 *  Thread Starter [Apple.WP-Dev](https://wordpress.org/support/users/red-apple/)
 * (@red-apple)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13354057)
 * **Update on 3/9/2020**
    I debug the code and point to where to fix for the ACF
   dev. I spoke to the ACF dev and they said the issue should be fixed next week.
   It means there is no issue with Elementor plugin. Just update.

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

The topic ‘ReferenceError: acf is not defined’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

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

 * 8 replies
 * 7 participants
 * Last reply from: [Apple.WP-Dev](https://wordpress.org/support/users/red-apple/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/referenceerror-acf-is-not-defined/#post-13354057)
 * Status: resolved