Special menu items

A small number of our websites use a module called Special Menu Items to allow parent menu items that don't link to anything, just act as a parent. An example can be seen at http://www.talbothouse.org.uk/ by hovering on the About us menu item. It doesn't link anywhere itslef, just allows access to menu items underneath. It's a handy module for people who'd prefer their menus to work that way.

I recently found a small bug, described on drupal.org that threw lots of error messages and prevented the menu from working properly.

I got errors like this:

call_user_func(rootcandy_menu_item_link) [<a href='function.call-user-func'>function.call-user-func</a>]: First argument is expected to be a valid callback in /home/server/websites/drupal/illuminate/live/drupal-6.17/sites/www.talbothouse.org.uk/modules/special_menu_items/special_menu_items.module on line 125.

I found that the fix at #5 and the patch at #10 solved the problem. Other people however didn't find the same success. I'm monitoring this for a more complete fix.