Support » Plugin: Toolset Types - Custom Post Types, Custom Fields and Taxonomies » [Plugin: Types – Custom Fields and Custom Post Types Management] Call to undefined function wpcf_adm

  • Resolved warren-adjust


    When trying to edit a custom fields group, I am presented with the following fatal error:

    Call to undefined function wpcf_admin_fields_get_group() in /public_html/wp-content/plugins/types/includes/fields-form.php on line 178

    I have tried removing and re-installing the plugin to no avail.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Amir Helzer


    That’s very strange, because the function exists in file embedded/includes/fields.php:

    function wpcf_admin_fields_get_groups() {
        $groups = get_posts('numberposts=-1&post_type=wp-types-group&post_status=null');
        if (!empty($groups)) {
            foreach ($groups as $k => $group) {
                $groups[$k] = wpcf_admin_fields_adjust_group($group);
        return $groups;

    Looks like something is still missing in your plugin installation.

    Hi and thank you very much for your quick reply.

    The function you listed is wpcf_admin_fields_get_groups(). I’m getting an error about wpcf_admin_fields_get_group()? I don’t know if that’s just a typo?

    Plugin Author Amir Helzer


    Sorry, that function is just a few lines down that same file:

    function wpcf_admin_fields_get_group($group_id) {
        return wpcf_admin_fields_adjust_group(get_post($group_id));

    You should see it in embedded/includes/fields.php.

    Plugin Author Amir Helzer


    I’ll mark it as resolved. Let me know if you need any more help.


    Thanks for your help so far, and sorry for my rather late reply! I have managed to partly resolve the error. I was just given this site so did not write it myself. It seems that embedded/includes/fields.php isn’t being loaded, but instead another file located at /public_html/wp-content/themes/rug/embedded-types/includes/fields.php is being loaded instead, and this file was missing the function. I’ve added that in and am now receiving:

    Fatal error: Call to undefined function wpcf_admin_can_be_repetitive() in /home/realuni/public_html/wp-content/plugins/types/includes/fields-form.php on line 956

    Again, any light you can shed on this is very much appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] Call to undefined function wpcf_adm’ is closed to new replies.