After upgrading, log reports this error for every type of page viewed:

Missing argument 1 for arg(), called in /var/www/host/modules/customfilter/customfilter.module on line 206 and defined in /var/www/host/includes/path.inc nella riga 148.

Comments

samuelet’s picture

Status: Active » Needs review
StatusFileSize
new325 bytes

The attached patch seems to fix it

samuelet’s picture

Priority: Normal » Critical
StatusFileSize
new366 bytes

This is a better patch, but other bugs still persists as i can't see and edit subfilters because of a buggy customfilter_filters() function.
It could be that #427080: Cache filters per page load for massive performance boost does not care correctly of 5.x API as it was built for 6.x, for example the arg() function is not supported without parameters.

samuelet’s picture

StatusFileSize
new600 bytes

Hope this is the final patch. It solves also the empty table bug in the subfilters admin page.

avpaderno’s picture

Version: 5.x-1.5 » 5.x-1.x-dev
Status: Needs review » Fixed

It's my bad; I develop in Drupal 6, and I forgot that arg() for Drupal 5 doesn't have optional arguments.

Thanks for the report.

Status: Fixed » Closed (fixed)

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