Hi,

I just created a new D7.0 install, and wanted to test forward. I installed it, and configured the admin settings without any problem.
then I created a new content type named "produit" and checked the "Show forwarding link/form" option.

So the problem is that when I create a new "produit" content, I can't see the Forward link and i have this error message :
Warning: Parameter 1 to forward_node_view() expected to be a reference, value given in module_invoke_all() (line 817 of D:\\drupal7\includes\module.inc).

Did I make something wrong ?

Thanks for your help ;)

CommentFileSizeAuthor
#3 forward-1055384.patch500 bytesinterx

Comments

chriz001’s picture

same problem here

chriz001’s picture

the problem goes away if i change line 1016 to this

function forward_node_view($node, $view_mode) {

removing the & infront of $node

interx’s picture

Status: Active » Needs review
StatusFileSize
new500 bytes

Previous comment as a patch

chriso’s picture

Version: 7.x-1.0-alpha3 » 7.x-1.x-dev
Status: Needs review » Reviewed & tested by the community

Found this bug myself with 7.x-1.0-alpha3, confirmed it remains in 7.x-1.x-dev.

Also happy to confirm the patch works (against -alpha3 and -dev).

joakimekroos’s picture

Thanks. Works for me too.

john.oltman’s picture

Status: Reviewed & tested by the community » Closed (fixed)

This fix has been incorporated in the new 7.x-1.0-rc1 release.