Closed (fixed)
Project:
Superfish Dropdown Menu
Version:
7.x-1.9-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2011 at 15:31 UTC
Updated:
10 Nov 2012 at 12:00 UTC
Getting this when adding a new CSS stylesheet into sites/all/libraries/superfish/style
Notice: Undefined index: mystyle in superfish_styles() (line 729 of /var/www/drupal/sites/all/modules/contrib/superfish/superfish.module)
Notice: Trying to get property of non-object in superfish_styles() (line 729 of /var/www/drupal/sites/all/modules/contrib/superfish/superfish.module).
Comments
Comment #1
mehrpadin commentedNi hao,
This happens when you select a style and then remove it from the /styles directory, I'll turn this into a nicer error message in beta5, thank you.
Comment #2
ckngNot really, it happens when I added a new style into the libraries folder.
I've to re-save every superfish menu block for it to disappear.
Comment #3
mehrpadin commentedOk, added more checks (will add some more in the next version as well), please try the development release :)