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
Comment #1
livewire1337 commentedI 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.
Comment #2
Anonymous (not verified) commentedActually, it isn't supposed to depend on the profile module and the code is fixed in the 6.x version.
Comment #3
seanrHow about fixing it in the 5.x version? I just ran into this too.
Comment #4
seanrBTW, 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);tomodule_invoke('profile', 'load_profile', $account);Comment #5
Anonymous (not verified) commentedActually it is in CVS that as module_invoke.
Comment #6
Anonymous (not verified) commentedNew release created.
Comment #7
seanrThanks.