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?
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.
I’ll mark it as resolved. Let me know if you need any more help.
Hi,
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!