Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: ryan88 commentedThank you for this. I was going crazy trying to figure out where this error was coming from.
Comment #2
daftu CreditAttribution: daftu commentedThanks for solution. It's working!
Comment #3
rsvelko CreditAttribution: rsvelko commentedfixed and tested
commits:
2f13ebd
9beae7f
Comment #4
rsvelko CreditAttribution: rsvelko commented