My log messages at admin/reports/dblog contain the following PHP notices/warnings:

Notice: Undefined index: views_ef_fieldset in views_ef_fieldset_display_extender_plugin->options_validate() (line 255 of /etc/drupal7/all/modules/views_ef_fieldset/views/views_ef_fieldset_display_extender_plugin.inc).

and

Warning: Invalid argument supplied for foreach() in views_ef_fieldset_display_extender_plugin->options_validate() (line 257 of /etc/drupal7/all/modules/views_ef_fieldset/views/views_ef_fieldset_display_extender_plugin.inc).

and

Notice: Undefined index: views_ef_fieldset in views_ef_fieldset_display_extender_plugin->options_submit() (line 268 of /etc/drupal7/all/modules/views_ef_fieldset/views/views_ef_fieldset_display_extender_plugin.inc).

CommentFileSizeAuthor
#3 2703681-3.patch1.74 KBheykarthikwithu

Comments

roball created an issue. See original summary.

roball’s picture

Issue summary: View changes
heykarthikwithu’s picture

Status: Active » Needs review
StatusFileSize
new1.74 KB

Added the checks for these warnings.

  • Pol committed 068e1b1 on 7.x-1.x authored by heykarthikwithu
    Issue #2703681 by heykarthikwithu: Undefined index: views_ef_fieldset in...
pol’s picture

Status: Needs review » Fixed

Thanks!

  • Pol committed 068e1b1 on 7.x-2.x authored by heykarthikwithu
    Issue #2703681 by heykarthikwithu: Undefined index: views_ef_fieldset in...

Status: Fixed » Closed (fixed)

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

jweirather’s picture

I don't want to re-open this old issue, but wondering why I might be seeing this error, seemingly randomly, in the middle of a VBO called from views, where the view does NOT use this module. I'm receiving the exact error:

Notice: Undefined index: views_ef_fieldset in views_ef_fieldset_display_extender_plugin->options_validate() (line 255 of /folder/www/somesite/sites/all/modules/views_ef_fieldset/views/views_ef_fieldset_display_extender_plugin.inc).

and

Warning: Invalid argument supplied for foreach() in views_ef_fieldset_display_extender_plugin->options_validate() (line 257 of /folder/www/somesite/sites/all/modules/views_ef_fieldset/views/views_ef_fieldset_display_extender_plugin.inc).

For clarity: I have a view page with a VBO field added, only two other added fields, and only one exposed filter. The exposed filter settings do NOT enable any features from the Views Exposed Filters Fieldset module. When processing a VBO batch on ~20k nodes, I received this error one time during processing, at about the halfway point, it was recorded to the logs and errored out the batch. I refreshed the page, and the batch continued and completed without issue.

I'm wondering if anybody might have insight on why that happened, so that I can keep an eye out for future batches. Recognizing of course that the patch may help. Just trying to get a scope on the underlying issue. Thank you!

crutch’s picture

I'm seeing this issue with EF when it is not activated in a View. I have a View using BEF. EF is not enabled (checked) in this View. AJAX enabled or disabled in the View itself does not change the error. When trying to modify BEF with EF, I will get a few AJAX errors

Location http://localhost/---/admin/structure/views/ajax/display/---/panel_pane_7...
Referrer http://localhost/---/admin/structure/views/view/---/edit/panel_pane_7
Message Notice: Undefined index: tid in views_ef_fieldset_display_extender_plugin->options_form() (line 158 of C:\xampp\htdocs\---\sites\all\modules\views_ef_fieldset\views\views_ef_fieldset_display_extender_plugin.inc).

Location http://localhost/---/admin/structure/views/---/display/colleges/panel_pa...
Referrer http://localhost/---/admin/structure/views/view/---/edit/panel_pane_7
Message Notice: Undefined index: container-4 in views_ef_fieldset_display_extender_plugin->options_form() (line 158 of C:\xampp\htdocs\---\sites\all\modules\views_ef_fieldset\views\views_ef_fieldset_display_extender_plugin.inc).

Location http://localhost/---/admin/structure/views/ajax/display/---/panel_pane_7...
Referrer http://localhost/---/admin/structure/views/view/---/edit/panel_pane_7
Message Notice: Undefined index: tid in views_ef_fieldset_display_extender_plugin->options_form() (line 158 of C:\xampp\htdocs\---\sites\all\modules\views_ef_fieldset\views\views_ef_fieldset_display_extender_plugin.inc).

However, on other sites not using EF, I will get AJAX errors from BEF while editing a View and often need to refresh the View to be able to save it. I think the issue resides in BEF but is showing itself here, but not positive because I've not used EF without BEF.