In my Drupal log, I get the error:
array_slice() [function.array-slice]: The first argument should be an array in /
/modules/directory/directory.module on line 472.
In my Drupal log, I get the error:
array_slice() [function.array-slice]: The first argument should be an array in /
/modules/directory/directory.module on line 472.
Comments
Comment #1
nschindler commentedJust realized that this only happens on the main directory page (index.php?q=directory).
I think I may have fixed this problem and accidentally fixed another with the following patch
It basically just puts some of the code within an if statement so that it doesn't run if there are no node items to display. no more error in the log.
The other thing this appears to fix is, if you have the "Hide terms with no content" option enabled, you would still see empty top-level vocabularies. They hide properly with the above change.
Comment #2
beginner commentedThe D6 version no longer uses array_slice().
4.7 and 5 are unsupported.
See the new D6 alpha release announcement:
http://drupal.org/node/283259
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.