I get the following error when I click in the "Filter" section of the Bibliography module, using Drupal 6.17 and the Zen theme:

warning: Parameter 1 to theme_biblio_filters() expected to be a reference, value given in /usr/local/www/apache22/data/includes/theme.inc on line 656.

Comments

rjerome’s picture

Which version of PHP are you using? Sounds like it might be 4.x?

royger’s picture

I'm using 5.3.2

rjerome’s picture

Drupal has (had?) some serious problems with PHP 5.3.x are you seeing this kinds of errors elsewhere?

amartin857’s picture

i am also seeing this error, i am also using php 5.3.2 but do not see this error anywhere else except when i click the filter tab on my biblio page. also, it seems that any additional filtering returns the same results as the first filter, thus not actually refining the results.

rjerome’s picture

I've installed PHP-5.3.3 on my dev machine and am looking into this, however it's proving a little more challenging that I expected.

I assumed that just removing the ampersand from

  function theme_biblio_filters(& $form) {
     .....
  }

would do the trick, but it has not so I'm still scratching my head on this one.

Ron.

rjerome’s picture

Status: Active » Fixed

Arrg!! how to waste a whole bunch of time... I was making changes to a file which wasn't actually in my web servers path, so no wonder it wasn't working. Anyway, it's fixed now.

http://drupal.org/cvs?commit=413758

Ron.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.