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

francisperea’s picture

I 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.

gsussman’s picture

This 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.

xandeadx’s picture

aaronmeister’s picture

Doing exactly as #1 says in the alinks.module file works like a charm.

ben finklea’s picture

Yep, #1 worked perfectly. Thanks.

greg boggs’s picture

Issue summary: View changes
Status: Active » Closed (fixed)