Closed (fixed)
Project:
Drigg
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
13 Feb 2010 at 21:18 UTC
Updated:
3 Jan 2014 at 01:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Mars2012 commentedIn my case the warning is:
warning: Parameter 1 to drigg_link() expected to be a reference, value given in ...\htdocs\[mySite]\includes\module.inc on line 483.
What can I do to solve the problem?
Comment #2
magic72 commentedYou can try to just remove the '&' in front of parameter in the function definition of drigg_link()
It worked for me.
Comment #3
arrisweb commentedwhere to remove that ?
Please help
Comment #4
adrupal commenteddrupal6home/modules/drigg/drigg/helpers.inc contains the drigg_link function definition. As mentioned in the prev post just remove the '&" in front of the parameter in the function definition. Still wondering if this is a drupal issue or a PHP 5.3 issue. Anyone has any better insights into this?
Comment #5
kolier commentedThis function drigg_link() conflicts with the hook_link()
It's better to rename this function while it doesn't have anything do with hook_link()
The comment said that this is only a theme helper function
Comment #6
kolier commentedSuggest rename drigg_link() to drigg_url_link()
Comment #7
kolier commentedCVS diff generated patch
Comment #8
Chrys commentedFixed and commited. Thanks Kolier.