The advuser module throws this error when trying to access the advuser page:
Call to undefined function profile_load_profile() in /sites/all/modules/advuser/advuser.module on line 157

It appears the module is calling the function directly, instead of using a module_invoke call.

CommentFileSizeAuthor
#3 advuser-5.x-2.x-profile_issue.patch987 bytesAnonymous (not verified)

Comments

salvis’s picture

Priority: Normal » Critical

Setting to critical — advuser is completely unusable without the profile module.

Gábor Mayer’s picture

+1

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new987 bytes

Does this patch help?

theunraveler’s picture

Can anyone confirm that this patch works?

adamcarsonb’s picture

Same issue here - Subscribing

Anonymous’s picture

I need the patch in #3 tested. The test needs to test with the profile module enabled and disabled. Once I have confirmation I will make a new release.

mcfilms’s picture

I tested tis in my version 6.

In 6.x-2.x revision 1.14.2.4 with Profiles disabled I could access
admin/user/user/advuser
admin/settings/advuser
With no problems. The only problem I had was the previously reported error when trying to send an e-mail to a group.

With the Optional Core Profile Module ENABLED I was able to access both of these pages. I also added permissions to be able to send and receive email advuser.

Alas, when I try and send mail though, I dtill get the error:

Fatal error: Unsupported operand types in /hermes/bosweb/web141/b1419/ipw.motionci/public_html/drupal/includes/common.inc on line 1376

But to answer your original question, Advuser can access those pages with and without Profile module enabled in D6.

Hope this helps.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

@mcfilms: Thanks for the report. The mail error appears to be an improper use of Drupal's url() function. I will have the profile_load_profile issue uploaded to CVS today.

Anonymous’s picture

Status: Reviewed & tested by the community » Fixed

I've just committed the patch for versions 5.x and 6.x.

Status: Fixed » Closed (fixed)

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