Title: Error: Call to undefined function acf_local()
Last modified: March 23, 2020

---

# Error: Call to undefined function acf_local()

 *  Resolved [ketutg](https://wordpress.org/support/users/ketutg/)
 * (@ketutg)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-call-to-undefined-function-acf_local/)
 * Hi I get the following error when trying to export using WP All Export Pro Version
   1.5.2
 * I have Advanced Custom Fields Version 5.8.7 and WordPress 5.3.2 installed.
 * Fatal error: Uncaught Error: Call to undefined function acf_local() in /public_html/
   wp-content/plugins/wp-all-export-pro/libraries/XmlExportACF.php:26 Stack trace:#
   0 /public_html/wp-content/plugins/wp-all-export-pro/libraries/XmlExportEngine.
   php(545): XmlExportACF->init(Array) #1 /public_html/wp-content/plugins/wp-all-
   export-pro/libraries/XmlCsvExport.php(812): XmlExportEngine->init_available_data()#
   2 /public_html/wp-content/plugins/wp-all-export-pro/controllers/admin/export.
   php(137): XmlCsvExport::auto_genetate_export_fields(Array, Object(WP_Error)) #
   3 /public_html/wp-content/plugins/wp-all-export-pro/wp-all-export-pro.php(407):
   PMXE_Admin_Export->index() #4 /public_html/wp-includes/class-wp-hook.php(288):
   PMXE_Plugin->adminInit(”) #5 /public_html/wp-includes/class-wp-hook.php(312):
   WP_Hook->apply_filters(NULL, Array) #6 /public_html/wp-includes/plugin.php(478):
   WP_Hook->do_action(Array) #7 /public_html/wp-admin/admin.php(170): d in /public_html/
   wp-content/plugins/wp-all-export-pro/libraries/XmlExportACF.php on line 26

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-call-to-undefined-function-acf_local/#post-12607089)
 * Hi [@ketutg](https://wordpress.org/support/users/ketutg/)
 * Updating WP All Export to the latest version will fix this error. Also, please
   direct all questions related to our pro plugins here: [http://www.wpallimport.com/support/](http://www.wpallimport.com/support/).

Viewing 1 replies (of 1 total)

The topic ‘Error: Call to undefined function acf_local()’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-export/assets/icon-256x256.png?rev=2570162)
 * [WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel](https://wordpress.org/plugins/wp-all-export/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-export/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-export/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-export/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-export/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-export/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/error-call-to-undefined-function-acf_local/#post-12607089)
 * Status: resolved