I'm getting the following error when I try to save the Contextual Filter settings dialog window.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: http://localhost/drupal/?q=admin/structure/views/ajax/config-item/view_expiring/page/argument/date_argument
StatusText: OK
ResponseText: Notice: Undefined index:  summary in options_validate() (line 402 of C:\wamp\www\drupal\sites\all\modules\views\handlers\views_handler_argument.inc). =>
#7 views_data_export-1281306-7.patch859 bytestim.plunkett


chalee’s picture

Now 'm getting the following error after upgrading to dev version of 18 Sept

Notice: Undefined index: type in default_summary_form() (line 571 of C:\wamp\www\contracts2\sites\all\modules\views\handlers\views_handler_argument.inc)
chalee’s picture

As a quick fix I just put an:

if (isset($plugin['type'])) { }

statement around the problematic statement. I don't know the implications of that.

dawehner’s picture

In general it helps to understand bugs you have not just avoiding them.

Did you already found out which plugin does not exist?

chalee’s picture

My investigation shows that the plugin causing the error is for the views_data_export module. Below is $plugin variable I printed with devel module's dsm function. As clearly seen it doesn't have the 'type' index.

... (Array, 9 elements)

    no ui (Boolean) TRUE
    handler (String, 37 characters ) views_data_export_plugin_style_export
    path (String, 43 characters ) sites/all/modules/views_data_export/plugins
    theme path (String, 41 characters ) sites/all/modules/views_data_export/theme
    theme file (String, 27 characters ) views_data_export.theme.inc
    module (String, 17 characters ) views_data_export
    file (String, 41 characters ) views_data_export_plugin_style_export.inc
    parent (String, 6 characters ) parent
    name (String, 17 characters ) views_data_export

dawehner’s picture

Project:Views» Views data export
Component:Miscellaneous» Code

Move to views data export module.

So it's actually a bug and the notice shouldn't have been hidden :)

jeseich’s picture

I'm getting the same error with the new update. I've tried a number of things to try and eliminate the error, unfortunately it still keeps coming up.

tim.plunkett’s picture

Status:Active» Needs review
new859 bytes

There should also be docs in Views that type is required.

chalee’s picture

Thanks @tim.plunkett I've applied the patch on my installation although I was no longer seeing the views_data_export error in #1 after successive updates of the Views module. I'm currently on Views 7.x-3.x-dev (26 Nov).

I'm however now seeing the Views module error in my original post of this issue.

Notice: Undefined index:  summary in options_validate() (line 402 of C:\wamp\www\contracts2\sites\all\modules\views\handlers\views_handler_argument.inc). =&gt

Perhaps I should move the issue back to Views modules since the error doesn't seem to be dependent on views_data_export module.

Steven Jones’s picture

Status:Needs review» Postponed (maintainer needs more info)

I have applied @tim.plunkett's patch from comment 7 and pushed that into the dev branch of VDE.

@chalee do you still get this problem? If so, I'd like to get to the bottom of it.

tim.plunkett’s picture

Status:Postponed (maintainer needs more info)» Fixed

marking fixed since #7 was committed.

Status:Fixed» Closed (fixed)

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