This is my first D7 site and my first time with Views Dynamic Fields.

When I initially view the View, these two error messages appear at admin/structure/views/view/xx/edit:

    Notice: Undefined index: combined in views_handler_filter_dynamic_fields->pre_query() (line 341 of /sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
    Notice: Undefined index: field_names in views_handler_filter_dynamic_fields->value_form() (line 218 of /sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).

Despite the error messages, the View appears to be fine, and accurate.

Then, once the View is displayed, and I click the Apply button for the exposed filters, the error message disappears.

I tried a variety of configurations for the Dynamic Fields filter, but most resulted in the same intial eror, but fine actual performance.

I also get these errors when editing the View:

    Notice: Undefined variable: exposed_input_fields in views_handler_filter_dynamic_fields->value_form() (line 232 of /sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc).
    Notice: Undefined index: header in template_preprocess_views_view_table() (line 571 of /sites/all/modules/views/theme/theme.inc).
    Notice: Undefined variable: header in include() (line 26 of /sites/all/modules/views/theme/views-view-table.tpl.php).
    Warning: Invalid argument supplied for foreach() in include() (line 26 of /sites/all/modules/views/theme/views-view-table.tpl.php).

This is with the Danland theme. These errors do vary based on the settings.

I disabled Views caching and Flushed Drupal cache many times.

To sum it up, the View appears fine even with the error message displaying, and then the error message disappears when the Apply button is pressed for the exposed filters.

CommentFileSizeAuthor
#5 1248644.patch795 bytesintrofini

Comments

itserich’s picture

I messed that up.

This comment:

at admin/structure/views/view/xx/edit:

should have been inserted before the second set of error messages, not the first.

girishmuraly’s picture

Yeah, I am having the same errors. Its not with the theme you use.

anea02’s picture

Am experiencing identical error.

Using:
Views 7.x-3.0-rc1

girishmuraly’s picture

I am having a great pinch for time to maintain and fix bugs for this module. Am looking for maintainers and will also accept patches.

introfini’s picture

StatusFileSize
new795 bytes

I only got the error Notice: Undefined variable: exposed_input_fields in views_handler_filter_dynamic_fields->value_form() (line 232 of /sites/all/modules/views_dynamic_fields/handlers/views_handler_filter_dynamic_fields.inc)..

I've attached the path that fixes that error.

It's an easy fix, at the line 232 change from

if (!$this->options['checkboxes'] && !$exposed_input_fields) {

to

if (!$this->options['checkboxes'] && !isset($exposed_input_fields)) {

donSchoe’s picture

Status: Active » Needs work

Patch is applied to code, but issues (partly) persist...

donSchoe’s picture

Status: Needs work » Fixed

Fixed, please reopen this issue if you still experience this problem.

donSchoe’s picture

Assigned: Unassigned » donSchoe

Status: Fixed » Closed (fixed)

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