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
Comment #1
h3000 commentedby the way my setup is:
Drupal 6.10
Profile Setup 6.x-2.0
Pageroute 6.x-1.0-beta1
Apache2
PHP5
MySQL5
Comment #2
thomjjames commentedFixed in 6.3 version