array_reverse() PHP error

budda - October 21, 2008 - 10:11
Project:Menu Trails
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

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.

#1

Sansui - March 6, 2009 - 16:30

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

Sansui - March 6, 2009 - 16:35

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

kees@qrios - April 29, 2009 - 08:08

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

sun - July 24, 2009 - 16:16
Status:active» won't fix

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.

 
 

Drupal is a registered trademark of Dries Buytaert.