Posted by livewire1337 on June 3, 2009 at 10:07pm
Jump to:
| Project: | Advanced User |
| Version: | 5.x-2.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When I go to advanced under /admin/user/user/advuser I get the following error:
Fatal error: Call to undefined function profile_load_profile() in /home/americo/public_html/modules/advuser/advuser.module on line 157
I am running Drupal 5.18 with modules CCK, Ubercart, and various others.
Comments
#1
I found the problem. I needed to enable the user profile core module. This needs to be added in the module settings to where is says it "Depends on: Profile" when trying to enable the advuser module.
#2
Actually, it isn't supposed to depend on the profile module and the code is fixed in the 6.x version.
#3
How about fixing it in the 5.x version? I just ran into this too.
#4
BTW, it's a crazy simple fix - no reason not to commit it to the 5.x branch too:
line 157:
change
<?phpprofile_load_profile($account);
?>
<?phpmodule_invoke('profile', 'load_profile', $account);
?>
#5
Actually it is in CVS that as module_invoke.
#6
New release created.
#7
Thanks.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.