Navigating to admin/content/node-type/profile/profile results in the following php error.

Fatal error: Call to undefined function fieldgroup_groups() in sites/all/modules/content_profile/modules/content_profile_registration.module on line 118

I'm using cck version 6.x-2.0-rc7

CommentFileSizeAuthor
#5 c_p_reg_check_fieldgroup.patch402 bytesscottrigby

Comments

Steve Dondley’s picture

Title: "Undefined function fieldgrourp_groups()" error » "Undefined function fieldgroup_groups()" error

typo on title fixed

jgraham’s picture

Component: Base module » User registration module

fixing component field

niklp’s picture

Category: bug » task

This is caused by not having the fieldgroup module installed under cck.

The C_P module needs to check if this module is enabled before it starts assuming that fieldgroups are available.

jgraham’s picture

Status: Active » Fixed
scottrigby’s picture

Status: Fixed » Needs review
StatusFileSize
new402 bytes

Should content_profile_registration.info call fieldgroup.module as a dependency? If so, patch attached adds this line :)
Scott

jgraham’s picture

Status: Needs review » Fixed

It doesn't need to be a dependency, users should be allowed to enable the module without fieldgroup, but if fieldgroup is enabled then this will work with it as well.

There is no inherent reason fieldgroup *must* be enabled for the profile registration to work.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.