I have been working with a bunch of the language modules and I am now receiving this error on the main page of my quality environment. Eh, that’s why you have quality. Well, that’s really why you have a sandbox. but my sandbox really needs some help. Fortunately, I backed everything up before my last prod change, including quality. If I can’t fix it, I may roll back and punt.
Warning: Parameter 1 to icl_content_node_view() expected to be a reference, value given in module_invoke_all() (line 857 of/var/www/html/includes/module.inc).
this is a known bug. http://drupal.org/node/1223990 and http://drupal.org/node/1010166
Here is the actual patch procedure from hgneng. Big thanks for this; it worked perfectly.
I did have to install the app “patch” to use this proc. simple – yum install patch
The patch works for Drupal 7.14. Why not merge it to dev?
@tzanis how to install patch (for Linux user):
$ cd sites/all/modules/translation_management/icl_content
$ wget http://drupal.org/files/issues/translation_management-node-hooks-by-valu…
$ cp icl_content.wrapper.inc icl_content.wrapper.inc.bak
$ patch -p1 icl_content.wrapper.inc -i translation_management-node-hooks-by-value.patch.txt
One thought on “Resolved – Warning: Parameter 1 to icl_content_node_view”