Closed (fixed)
Project:
Total Control Admin Dashboard
Version:
7.x-2.3-beta1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2012 at 07:39 UTC
Updated:
16 May 2012 at 07:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
jenlamptonThe error is relating to menus you may or may not have set up on your site. Do you have a menu named "Features"? If so, have you configured the pane yet to either show or not show that menu? It's fine either way, I just need to know what configuration you have that generates the error so that we can fix it :)
Comment #2
eckersley commentedGreetings. I too have just encountered this, having just installed Total Control. Total Control generated about 30 errors related to Skinr, which I then removed, bringing the number down to 2 problems related to menus. I removed a custom menu I had set up, and that got me down to only one:
Notice: Undefined index: features in total_control_menus_content_type_render() (line 52 of /Users/XYZ/Sites/xyz/sites/all/modules/total_control/plugins/content_types/menus.inc).I disabled the Features module and made sure there was no occurrence of it in my menos, but the error still comes up. I have been clearing the caches.
Would love to use Total Control but this would disqualify it.
Any help would be greatly appreciated.
Comment #3
eckersley commentedA quick postscript to my note directly above: I noticed that Features had in fact created a menu item that survived the removal of the module. Once I got rid of that, the error went with it too. However, as soon I created a new custom menu, called Reporters, the problem returned, now for that menu item. Is there a way to create custom menus that are compatible with Total Control?
Notice: Undefined index: menu-reporters in total_control_menus_content_type_render() (line 52 of /Users/XYZ/Sites/xyz/sites/all/modules/total_control/plugins/content_types/menus.inc).Comment #4
eckersley commentedThe good news is I found a workaround to get rid of the error message by editing the Total Control Administer Menus table:
Click on the top right link of the main dashboard page to Edit Panel and then click Configure on the Admin – Menus table. Click Finish and this seems to define our undefined index!
Comment #5
kingfisher64 commentedI get the same notice and I have features enabled with no links in the features menu.
Notice: Undefined index: features in total_control_menus_content_type_render() (line 52 of C:\wamp\www\websites\development\sandbox\sites\all\modules\total_control\plugins\content_types\menus.inc).Comment #6
jenlamptonUpdating title, and setting status to active since there's no patch here yet.
Comment #7
jenlamptonAnd here's a patch - please test and let me know if this solves the problem for you :)
Comment #8
kingfisher64 commentedpatch works great jen, thank you.
just to clarify the issue, in plugins > content types > menus.inc the #7 patch removes the
(line 52 of /home/admin/public_html/amg.emc2innovation.com/sites/all/modules/total_control/plugins/content_types/menus.inc).Comment #9
rellimevad commentedNice - works here too. Drupal 7.12, Total Control 2.3-beta1.
Thanks for the patch (and for the great module).
Comment #10
sebyoga commentedThis is a nice Module and Nice Patch :)
Think you for you review.
Drupal : 7.12
Best regards,
Sébastien
Comment #11
jenlamptonLooks like you meant to update the status, thanks for the reviews guys!
Comment #12
jenlamptoncommitted to dev.
Comment #13
jenlamptonComment #15
emcniece commentedAfter 4 months I return, only to find a patch! Applies beautifully... you guys ROCK. Great work!