Call to undefined function content_profile_get_setting() in /var/www/beck/sites/all/modules/content_profile/content_profile.module on line 119

The function must be called with content_profile_get_settings!

CommentFileSizeAuthor
#5 content_profile.module.pdf54.36 KBmdroste

Comments

vasheck’s picture

I'm getting the same error message...

I installed the custom module from "rjbrown99" posted here: http://drupal.org/node/236926#comment-1042626

I'm not sure how to fix this one... any suggestions would be appreciated.

Thanks!

fago’s picture

Status: Active » Closed (fixed)

I suppose the error is just in this one, I couldn't found one single content_profile_get_setting( in the whole module.

ingacosta’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta2
Status: Closed (fixed) » Active

What about this error?
I'm getting the same error when I go to any path 'user/%uid/edit'
I'm using 6.x-1.0-beta2 version

ingacosta’s picture

Status: Active » Closed (fixed)

Excuse me. I forgot I installed that module too (content_profile_edit). I uninstalled it and it works.
It's closed again.

mdroste’s picture

Priority: Normal » Critical
Status: Closed (fixed) » Active
StatusFileSize
new54.36 KB

The bug ist still in the code on line 122. I just download the module a second time.

foreach (node_get_types($op) as $type => $info) {
    if (is_content_profile($type) && (!isset($setting) || content_profile_get_setting($type, $setting))) {
      $types[$type] = $info;
    }
  }

See attached file.

iub98’s picture

I'm also getting this error. Is there a fix? I do not have the content_profile_edit module installed

mdroste’s picture

Finally. I thought already I'm the only one getting this error. No one else with this problem?

liliplanet’s picture

subscribe .. thx! same problem here ..

fago’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Active » Fixed

Update to the dev snapshot, which has the bug fixed.

Status: Fixed » Closed (fixed)

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

R.K.Jaswal’s picture

i got this:- Fatal error: Call to undefined function theme_get_settings() in /home/itijagri/public_html/itikutlehar.org/sites/all/themes/forest_floor/template.php on line 17

please help me that why should i remove this type error