Closed (fixed)
Project:
Clicky - Web Analytics in Real Time
Version:
6.x-1.6
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
18 Jul 2011 at 16:25 UTC
Updated:
24 May 2012 at 17:38 UTC
On PHP 5.3, to get rid of this warning:
"Parameter 1 to profile_load_profile() expected to be a reference"
In getclicky.module, in function getclicky_footer, change line:
$p_bool = module_invoke('profile', 'load_profile', $user);
into
$p_bool = module_invoke('profile', '_load_profile', $user);
It took me lots of hours to find the cause of such warning.
Comments
Comment #1
ryan88 commentedThank you for this. I was going crazy trying to figure out where this error was coming from.
Comment #2
daftu commentedThanks for solution. It's working!
Comment #3
rsvelko commentedfixed and tested
commits:
2f13ebd
9beae7f
Comment #4
rsvelko commented