Hi, I know theres a tonne of issues with core and php5.3 but I've committed myself now and really don't want to go back and edit all the changes I've made.. so hopefully someone can help.

Advuser version 6.x-2.3
php version: 5.3 :(
Drupal: 6.15

Error message (multiple)

warning: Parameter 1 to profile_load_profile() expected to be a reference, value given in /home/site/public_html/includes/module.inc on line 462.

Line 462 reads:
return call_user_func_array($function, $args);

Any ideas guys because I suck at php :)
Many thanks in advance

CommentFileSizeAuthor
#2 advuser_php53.patch1.06 KBberdir

Comments

berdir’s picture

berdir’s picture

Status: Active » Needs review
StatusFileSize
new1.06 KB

Attaching a simple patch.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

Works for me. Ready to be checked in.

Anonymous’s picture

Berdir: I've given you CVS commit access, can you please check in the code.

berdir’s picture

Status: Reviewed & tested by the community » Fixed

Ok, commited to 6.x-2.x-dev and 6.x-3.x-dev.

Status: Fixed » Closed (fixed)

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

cooldeeponline’s picture

thank you for the patch. it worked for me too!

Jorrit’s picture

There has not been a release since the patch was committed. Can this be done?

Anonymous’s picture

I second that 6 month old request. Can there be a release with this patch?

madanzes’s picture

Hi all,
my site was php 5.4 but still i got that error in my status reports
anyone please help..
thanks