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

livewire1337’s picture

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.

Anonymous’s picture

Status: Active » Postponed

Actually, it isn't supposed to depend on the profile module and the code is fixed in the 6.x version.

seanr’s picture

Status: Postponed » Active

How about fixing it in the 5.x version? I just ran into this too.

seanr’s picture

BTW, it's a crazy simple fix - no reason not to commit it to the 5.x branch too:

line 157:

change profile_load_profile($account); to module_invoke('profile', 'load_profile', $account);

Anonymous’s picture

Actually it is in CVS that as module_invoke.

Anonymous’s picture

Status: Active » Fixed

New release created.

seanr’s picture

Thanks.

Status: Fixed » Closed (fixed)

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