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

mehrpadin’s picture

Ni 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.

ckng’s picture

Not 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.

mehrpadin’s picture

Status: Active » Fixed

Ok, added more checks (will add some more in the next version as well), please try the development release :)

Status: Fixed » Closed (fixed)

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