I love this module, but I can't get it to work in Drupal 6. I get the following error:

Warning: call_user_func_array() expects parameter 2 to be array, null given in [..]modules/hof/hof.module on line 346.

I have tried the dev version too, with the same result.

Comments

Tyborrex’s picture

Priority: Normal » Critical

Same error, dev rls isnt working too.
With this the whole module stopped working.

Tyborrex’s picture

Priority: Critical » Normal
Status: Active » Needs review

I looked into the code, here is a hotfix:

if (is_array($args)) {
      $args = array_shift($args);
      $args = array($args,'');
}

It's at line 342.

This error is maybe php version or webserver php extension related!

syscrusher’s picture

Assigned: Unassigned » syscrusher
Priority: Normal » Critical
Issue summary: View changes

I am releasing a fix today. Thanks for the bug report, and I'm very sorry it's taken me so long to get back into this module. I've been so busy with non-Drupal work the past couple of years that I've gotten badly behind in my Drupal code. Things have settled down a bit, and I'm starting to catch up now.

Next step for this module is a D7 port, but I wanted to fix this critical D6 bug first.