I'm getting frequent "Undefined index" notices, eg:

Notice: Undefined index: group_rendered in views_plugin_style->options_form() (line 180 of /var/www/phaidon/sites/all/modules/views/plugins/views_plugin_style.inc).

Doesn't appear to be preventing anything from working, but any suggestions why it's happening?
View code attached.

CommentFileSizeAuthor
#4 1424744.patch738 bytesdawehner
#3 1424744-stacktrace.txt3.43 KBdrzraf
#1 views-error.txt10.16 KBxaqrox
view.txt46.89 KBadam_b
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xaqrox’s picture

FileSize
10.16 KB

I'm getting a similar error, which is preventing me from adjusting the settings for the format.

"Notice: Undefined index: group_rendered in options_form() (line 180 of /var/www/vhosts/abq.radcampaign.com/httpdocs/sites/all/modules/views/plugins/views_plugin_style.inc)."

xaqrox’s picture

I can edit the settings if I right click and open the link in another window instead of letting AJAX disply the form in an overlay. I'm guessing if I turned off PHP errors in .htaccess I wouldn't notice anything at all. But still.

drzraf’s picture

FileSize
3.43 KB

here is the last item of a stacktrace, let me know if I can dump further.
forgot to say that using openlayers, the View's style popup also dump such a notice, see #1428220: Undefined index: group_rendered in options_form() (line 180 of /modules/views/plugins/views_plugin_style.inc)

dawehner’s picture

Status: Active » Needs review
FileSize
738 bytes

Can you test this patch? I think it kind of make sense here.

Thanks!

drzraf’s picture

tested, the notice is gone, I can now access the popup and use grouping options !
thanks !

dawehner’s picture

Version: 7.x-3.1 » 6.x-3.x-dev
Status: Needs review » Patch (to be ported)

Thanks for testing the patch. Just committed to 7.x-3.x

Chris Matthews’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (outdated)

The Drupal 6 branch is no longer supported, please check with the D6LTS project if you need further support. For more information as to why this issue was closed, please see issue #3030347: Plan to clean process issue queue