Encountered this error when trying to save a photo for the user profile page after registration.

I added a temporary fix to the problem by modifying the code to check if the function exists:
original was:

function profile_setup_page_is_content_profile_type($category) {
  return is_content_profile($category);
}

changed to this:

function profile_setup_page_is_content_profile_type($category) {
  if(function_exists("is_content_profile")) {
    return is_content_profile($category);
  } else {
    return FALSE;
  }
}

After that, picture upload is now working.

However I am not sure if it affects other parts of the user profile.

Comments

h3000’s picture

by the way my setup is:

Drupal 6.10
Profile Setup 6.x-2.0
Pageroute 6.x-1.0-beta1
Apache2
PHP5
MySQL5

thomjjames’s picture

Version: 6.x-2.0 » 6.x-3.x-dev
Status: Active » Fixed

Fixed in 6.3 version

Status: Fixed » Closed (fixed)

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