I just installed the latest dev on a 7.2 site and upon activation of the module i get the following error:

Notice: Undefined index: title in menu_clone_load() (line 80 of /home/cpelham/public_html/dev.crsny.org/public/sites/all/modules/menu_clone/menu_clone.module).

#6 menu_clone_1179018_1.patch3.42 KBjvandooren
Members fund testing for the Drupal project. Drupal Association Learn more


malc0mn’s picture

Assigned: Unassigned » TimLeytens

Assigning issue...

fl3a’s picture

Same here, using same version (7.x-1.x-dev), same notice...

FAAREIA’s picture


Using Drupal 7.8 and Menu Clone 7.x-1.x-dev

This issue just appear after i disabled "Toolbar" module and enabled "Administration menu" module

elly’s picture

Same issue, also running admin_menu module.

uno’s picture

Same here with 7.x-1.x-dev , Administration menu 7.x-3.0-rc1 enabled, core Toolbar disabled.

After enabling Menu Clone, javascript and css were stripped from Firefox, unassociated sessions in Chrome freezed.

Had to uninstall Menu Clone, clear caches (both in site admin and generally in browser), update, remove Menu Clone folder from directory.

jvandooren’s picture

Status: Active » Needs review
3.42 KB

I got this error while installing the module, saving a contenttype... I don't know how hook_load works exactly but the code in hook_load was executed way too often. The attached patch fixed the issue for me but I don't know if this is the way to go :-)

albertguedes’s picture

Thanks Ozmodiar , it worked for me :D

Scott M. Sanders’s picture

Priority: Normal » Major
Issue tags: +menu_clone_load()

Can we fix please? It does not work at all without the above patch.

phthao’s picture

I thank!

malc0mn’s picture

I'm doing a full 're-port' of the D6 version. The D7 port was done by someone else. Just going to do this all over again because it was not that good IMHO... Hoping to have it ready this week.

malc0mn’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta1

Please retest with the latest release and let me know if this is fixed now...

PatrickMichael’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev

Loaded the latest dev release, the error persists.
Notice: Undefined index: title in menu_clone_load() (line 137 of /usr/www/users/torquttwsg/dev.torque.co.za/sites/all/modules/menu_clone/menu_clone.module).

malc0mn’s picture

@PatrickMichael: when exactly does this error pop up? Need some more info to reproduce it here and see exactly what's going on... See #6 and #3 ...

malc0mn’s picture

@Stakcreativa: managed to reproduce #3, looking into it

malc0mn’s picture

Status: Needs review » Fixed

Fixed the case of #3 in D7 and D6 (D6 does not show these notices by default). Should be fixed for all now as it is the same case: the first query menu_clone_load() does not return a result.

Available in latest dev releases when the builder script makes another pass (or clone the respective branches)...

malc0mn’s picture

Available in 7.x-1.x-beta2.

Automatically closed -- issue fixed for 2 weeks with no activity.