Active
Project:
Content Profile
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2010 at 19:37 UTC
Updated:
21 Jul 2010 at 17:30 UTC
hi everyone..
im installing APK (Advanced Profile Kit)..successed it, but unfortanelly when im going to testing user page.. i got this error..
* warning: Parameter 2 to content_profile_user() expected to be a reference, value given in /home/xxx/public_html/includes/module.inc on line 483.
is it pointing to php 5.3 compability ?? how can i fix it ?? thanks....
Comments
Comment #1
fagoYep, it is. But hook_user() is documented like this, so it's APK that should call the function properly.
Comment #2
michelleAPK doesn't call content_profile_user(). I grepped the code to be sure. There isn't anything I can do here.
Michelle
Comment #3
kakajoe commentedhow can i fix it ?? thanks....
Comment #4
mikebann commentedHave you cleared your cache? Sometimes when I update modules I get error then I clear my cache and they go away.
Comment #5
kakajoe commentedi did...update.php done, but still... someone help me please?
Comment #6
michelleWithout knowing what module is making that call, I don't know that there's anything anyone can do to help.
Michelle
Comment #7
kakajoe commentedhow can i know what module that call ?? would you show me the way ?? thanks
Comment #8
michelleYou can do the same thing I did: grep the source code of all the modules you use for "content_profile_user". I checked APK and it doesn't call it. APK doesn't really do anything with content profile directly; it just assumes that it's there to provide the relationship so the node context based panes show up.
Michelle
Comment #9
debplatt commentedI followed the instructions that I found here ( http://drupal.org/node/517182 ) on installing the APK. Prior to installing APK, I installed "Content Profile". Then I followed the instruction here ( http://drupal.org/node/579468 ) on "Importing the included User Profile node type". As originally described in the thread above, I got the message "content_profile_user() expected to be a reference". I grep'ed to discover what was calling this function. content_profile.install states the following:
I am new to PHP and the overall architecture of these inter-related modules, so I don't know how to further troubleshoot this.
Comment #10
michelleThe only thing I can think of is Content Profile runs something when a Content Profile enabled node type is created. As I said, this isn't anything in APK. Moving this to the CP queue in case fago has an idea.
Michelle