warning: Parameter 1 to theme_torrentfield_widget() expected to be a reference, value given in /srv/www/vhosts/drupal-6.20/includes/theme.inc on line 656.

Comments

kurth’s picture

Same here.

Looks like we're on our own to find a fix...:/

chefarov’s picture

Priority: Normal » Major

Same here (drupal 6.22)
When I try to create a new node which contains a bittorent filefield then there is no browse/upload widget in that field, a.k.a: I can't use the field !

Anyone to suggest a workaround on this?

chefarov’s picture

Status: Active » Needs review

In bt_torrent.module file I changed line 547 from
function theme_torrentfield_widget(&$element)
to
function theme_torrentfield_widget($element)
a.k.a:
I removed the '&' and after that the warning is gone, and the upload widget seems to be fixed.