Hi i get the following error and no views shows up for selecting when i try to edit a link to add a view.

Notice: Undefined index: #type in _menu_views_form_alter() (rad 296 from public_html/sites/all/modules/menu_views/menu_views.admin.inc).

Tried to google without help and search in this forum but dint find any help.

Im running Drupal 7.16
Menu Views 7.x-2.0-rc2
Views 7.x-3.5
Menu Block 7.x-2.3

and some other modules...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

markhalliwell’s picture

Version: 7.x-2.0-rc2 » 7.x-2.x-dev
Assigned: Unassigned » markhalliwell
Priority: Critical » Minor
Status: Active » Fixed
FileSize
1.96 KB

These are just notices and do not impact the functionality of the module, it's not a critical issue.
Committed to 7.x-2.x-dev: http://drupalcode.org/project/menu_views.git/commit/80254f0

liberal’s picture

Hi , i get the following error and no views shows up for selecting when i try to edit a link to add a view.

Notice: Undefined index: #default_value in _menu_views_form_alter() (line 200 of C:\Users\X\Desktop\Drupal\X\sites\all\modules\menu_views\menu_views.admin.inc).

Notice: Undefined index: #default_value in _menu_views_form_alter() (line 201 of C:\Users\X\Desktop\Drupal\X\sites\all\modules\menu_views\menu_views.admin.inc).

Notice: Undefined index: #type in _menu_views_form_alter() (line 296 of C:\Users\X\Desktop\Drupal\X\sites\all\modules\menu_views\menu_views.admin.inc).

how can i solve this problem?

drupal version: 7.16
menu_views 7.x-2.0-rc2
superfish
menu_badges
menu_icons
menu_tokens

markhalliwell’s picture

@liberal: Moved your problem to issue #1844700: Undefined index: #default_value, line 200 of menu_views.admin.inc, please create new issues for different errors.

Status: Fixed » Closed (fixed)

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

Strutsagget’s picture

Um sorry but if no view shows up its not minor issue as it makes the module do nothing.
:)

But i guess that problem is not related to the warning.

markhalliwell’s picture

Well, the original issue was about a notice that had to do with how the admin form is re-configuration for the 'link/view' item type and really had nothing to do with the view rendering. And given the type of notice that was being generated, it wouldn't have impacted the functionality of this module, so yes... it's minor.

As far as why the view isn't showing, there could be any number of reasons for this (usually to do with how the view itself is configured) or a conflicting module. If you still can't get it working, please feel free to open another issue with a list of all enabled modules/theme.