Menus get duplicated in Admin Menu for Drupal 7

Problem: Menus are showing up duplicated in Admin Menu

#25 hermes_costell commented on August 25, 2009 at 11:08pm

I had most menu items either as triples or higher, and the whole admin system was going berzerk. I'm not yet sure if the issue is resolved yet... but steps I took:

Solution:
Go into phpMyAdmin and run the following queries:

Ran
DELETE FROM `menu_links` WHERE `menu_links`.`module` = 'admin_menu'

Ran
DELETE FROM `menu_links` WHERE `menu_links`.`module` = 'system'

Went to:
admin/build/modules

Which rebuilt the menu, and things now look great. My frequency of db hits were berzerk before this fix, and are now totally calmed down.

Katy's comment: admin/build/modules gave me this error:
Fatal error: Unsupported operand types in C:\zzxampp\htdocs\drupal712hub\modules\system\system.module on line 2107

boon4376 posted this comment on February 12, 2012 at 9:51pm

Another confirmation that #25 works...

It actually worked for me with Drupal 7

going to "admin/build/modules" did not work though, I had to do the following (not sure which of my additional steps are necessary, but it worked)

So again, after running the SQL statements in my Drupal 7 database, I did the following in the Drupal administrative interface:

- Put site offline for maintenance
- Run Update.php
- Run Cron
- Flush All Caches

And everything went back to normal.

Source: http://drupal.org/node/149562
Comment #25 and #72 work great!