The trash module is in dev state. However, it may be helpful to report that with the current releases of Drupal, the Trash module dated 2008-Feb-22 works OK in Drupal 6.1, but does not work at all in 5.7. Trash can be installed, but on enabling it any call to
http://localhost/drupal5/admin/build/modules
results in:
Fatal error: Cannot use string offset as an array in C:\x\htdocs\drupal5\sites\all\modules\trash\trash.module on line 154
Later, calling http://localhost/drupal5/admin/ results in repeated warning:
* warning: Missing argument 3 for trash_form_alter(), called in C:\x\htdocs\drupal5\includes\form.inc on line 365 and defined in drupal5\sites\all\modules\trash\trash.module on line 153.
The module can not be uninstalled henceforth!
Gregor
Comments
Comment #1
rötzi commentedFixed in CVS. Thanks for reporting.
The bug was that the form_alter hook had the arguments of the Drupal 6 version, even in the Drupal 5 branch.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.