Support

Account

Home Forums Front-end Issues Call to undefined function

Solved

Call to undefined function

  • I am attempting to use the acf_form front-end functionality, but when I insert the form with options into my file I get this error:

    Fatal error: Call to undefined function get_editable_roles() in /home/theatre/www/www/wordpress2013/wp-content/plugins/advanced-custom-fields/core/fields/user.php on line 148

    Any idea what might be causing that?

    Thanks.

  • Well of course I figured it out 10 minutes later. I had the acf_form_head() function to low on the page. Moved it up and all is well.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Call to undefined function’ is closed to new replies.