Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get this error which i'm not really sure what is. It seems like my CVS and some part of the menu system are not compatible?
Type error
Date Saturday, March 8, 2003 - 07:40
User Gunnar Langemark
Location /?q=admin
Message user error: the 'menu_add()' function is depricated in /home2/www/langemark/includes/menu.inc on line 4.
Hostname 62.242.117.232
Comments
Module from contributions repository
You are using a module from the contributions repository that still uses menu_add() instead of menu(). The module needs to be updated which usually isn't too hard.
It's the taxonomy dhtml module
I'll take a look at it, but I'm no programmer!
5 min. later:
I changed the menu_add() to menu() - but it still comes up with the error - a cache thing?
Also it seems to work. There's a page with a foldable menu for each taxonomy term. It looks like it's looking through the db - since it takes a long time to render the page properly - the icons appear very slowly.
Would there be a point in working with an index - done by cron, when search is done?
I mean: an expandable menu block would be cool - the same way as this page.
Not a current version
the current taxonomy_dhtml.module has no menu calls at all. it just uses _settings(). please update.