Posted by budda on October 21, 2008 at 10:11am
Jump to:
| Project: | Menu Trails |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Getting a PHP error when viewing a node which is not attached to the menu system.
array_reverse() [<a href='function.array-reverse'>function.array-reverse</a>]: The argument should be an array in /var/www/html/drupal-5.0/sites/example/modules/menutrails/menutrails.module on line 65.
Comments
#1
I also have this issue
warning: array_reverse() [function.array-reverse]: The argument should be an array in mylocalpath\modules\menutrails\menutrails.module on line 73.
Googling it shows a number of sites that display this error publicly, but this is the only drupal thread I've seen on menu trails for this error
#2
Well, it was only showing on forum topics inside my organic groups, and configuring the menutrails options to give forum topics a default parent from the dropdown selection made the errors go away.
#3
I have this issue combined with I18N module.
When switching language to a language where no translation exists, the same node will open with a different language prefix. When the parent node has a different language than the current prefix (true in this case), the error occurs.
#4
Sorry, Menu Trails for Drupal 5 is not actively developed/maintained anymore. Only issues containing patches may still be considered. Feel free to re-open this issue if you want to provide a patch.