Closed (fixed)
Project:
Alinks
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2012 at 23:08 UTC
Updated:
31 Dec 2013 at 01:07 UTC
Jump to comment: Most recent
I keep getting the following message and but no actual alink
Warning: Parameter 1 to alinks_node_view() expected to be a reference, value given in module_invoke_all() (line 818 of /home/xxxxxxxx/domains/www.hereweare.com/staging/includes/module.inc).
Comments
Comment #1
francisperea commentedI had the same problem and resolved by deleting the & in line 121:
From:
function alinks_node_view(&$node, $view_mode) {
to:
function alinks_node_view($node, $view_mode) {
Hope it helps.
Comment #2
gsussman commentedThis worked for me as well. Here is more info on why the change is required.
There does seem to be something weird going on because the ampersand was removed in this commit however it doesn't seem to have found its way into 7.x-1.1.
Comment #3
xandeadx commentedhttp://drupal.org/node/1317616#comment-6111326
Comment #4
aaronmeister commentedDoing exactly as #1 says in the alinks.module file works like a charm.
Comment #5
ben finklea commentedYep, #1 worked perfectly. Thanks.
Comment #6
greg boggs