When recreating any feature with a view the following notice is shown:

Notice: Undefined index: menu in views_plugin_list() (line 277 of http/sites/all/modules/contrib/views/views.module).
Notice: Undefined index: menu in views_plugin_list() (line 278 of http/sites/all/modules/contrib/views/views.module).
Notice: Undefined index: system in views_plugin_list() (line 277 of http/sites/all/modules/contrib/views/views.module).
Notice: Undefined index: system in views_plugin_list() (line 278 of http/sites/all/modules/contrib/views/views.module).

Comments

stubben created an issue. See original summary.

stubben’s picture

Assigned: stubben » Unassigned
stubben’s picture

hgoto’s picture

@stubben, thank you for sharing the issue. I met the same notice message. I haven't understood the exact reason why this occurs but I think that we shouldn't patch Views code for this issue. The patch just removes the notice message and doesn't solve the issue. Probably this issue should be solved in Features module.

kenorb’s picture

Status: Active » Needs review
supriyarajgopal’s picture

+1 Subscribing

hgoto’s picture

I met this problem again. I haven't found the reason why views_plugin_list() raises this warning yet but I found one workaround. Exporting and re-importing the related view fixes the issue. I hope this helps people down the road.

hgoto’s picture

Here are similar issues with undefined index in views_plugin_list().

riddhi.addweb’s picture

Issue tags: +undefined index, +features
chris matthews’s picture

Status: Needs review » Closed (duplicate)