Download & Extend

PHP 5.3 compatibility - Removes warning

Project:GetClicky - Web Analytics in Real Time
Version:6.x-1.6
Component:Code
Category:bug report
Priority:major
Assigned:rsvelko
Status:closed (fixed)

Issue Summary

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

#1

Thank you for this. I was going crazy trying to figure out where this error was coming from.

#2

Thanks for solution. It's working!

#3

Assigned to:Anonymous» rsvelko
Status:active» fixed

fixed and tested

commits:
2f13ebd
9beae7f

#4

Status:fixed» closed (fixed)
nobody click here