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 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).
Comment | File | Size | Author |
---|---|---|---|
#6 | menu_clone_1179018_1.patch | 3.42 KB | jvandooren |
Comments
Comment #1
malc0mn CreditAttribution: malc0mn commentedAssigning issue...
Comment #2
fl3a CreditAttribution: fl3a commentedSame here, using same version (7.x-1.x-dev), same notice...
Comment #3
FAAREIA CreditAttribution: FAAREIA commented+1
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
Comment #4
elly CreditAttribution: elly commentedSame issue, also running admin_menu module.
Comment #5
uno CreditAttribution: uno commentedSame 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.
Comment #6
jvandooren CreditAttribution: jvandooren commentedI 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 :-)
Comment #7
albertguedes CreditAttribution: albertguedes commentedThanks Ozmodiar , it worked for me :D
Comment #8
Scott M. Sanders CreditAttribution: Scott M. Sanders commentedCan we fix please? It does not work at all without the above patch.
Comment #9
phthao CreditAttribution: phthao commentedI thank!
Comment #10
malc0mn CreditAttribution: malc0mn commentedI'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.
Comment #11
malc0mn CreditAttribution: malc0mn commentedPlease retest with the latest release and let me know if this is fixed now...
Comment #12
PatrickMichael CreditAttribution: PatrickMichael commentedHi,
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).
Comment #13
malc0mn CreditAttribution: malc0mn commented@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 ...
Comment #14
malc0mn CreditAttribution: malc0mn commented@Stakcreativa: managed to reproduce #3, looking into it
Comment #15
malc0mn CreditAttribution: malc0mn commentedFixed 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)...
Comment #16
malc0mn CreditAttribution: malc0mn commentedAvailable in 7.x-1.x-beta2.