Active
Project:
Views Plugins
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2011 at 00:10 UTC
Updated:
26 Jan 2012 at 05:25 UTC
Notice: Undefined index: group in views_plugin_style->render() (line 251 of /Applications/MAMP/htdocs/drupshop/sites/all/modules/views/plugins/views_plugin_style.inc
Comments
Comment #1
robertstaddon commentedI started getting this error after upgrading to the latest version of Views. I fixed it by editing my view and going to the Format Settings. I had "Use rendered output to group rows" selected without a grouping field selected. I had to either select a grouping field or uncheck "Use rendered output to group rows".
Comment #2
mxh commenteddoes not work for me. i still get this error message, although a grouping field is selected. cannot disclaim on rendering the output to group rows. i hope this bug will be fixed soon.
Comment #3
rodvolpe commentedDid not work for me neither....
Comment #4
rickiellen commentedrobertstaddon's fix did work for me.
Comment #5
matrlx commentedSame error here :/
robertstaddon, I can`t find this option here..
This is the error that I got (after I upgraded to views new version):
Notice: Undefined index: group in views_plugin_style->render() (line 251 of /home/engenha/public_html/modules/views/plugins/views_plugin_style.inc).
Notice: Undefined index: rows in views_plugin_style->render() (line 254 of /home/engenha/public_html/modules/views/plugins/views_plugin_style.inc).
Warning: Invalid argument supplied for foreach() in views_plugin_style->render() (line 254 of /home/engenha/public_html/modules/views/plugins/views_plugin_style.inc).
Notice: Undefined index: group in views_plugin_style->render() (line 251 of /home/engenha/public_html/modules/views/plugins/views_plugin_style.inc).
Notice: Undefined index: rows in views_plugin_style->render() (line 254 of /home/engenha/public_html/modules/views/plugins/views_plugin_style.inc).
Warning: Invalid argument supplied for foreach() in views_plugin_style->render() (line 254 of /home/engenha/public_html/modules/views/plugins/views_plugin_style.inc).
Comment #6
lindad commentedAll I had to do was go into Format-> Settings in my view, I didn't make any changes and select "Apply to all" then save the view again. Works fine now. Very similar to robertstaddon's post of course. I'm basically confirming his solution.
I am at Drupal 7.10 if that helps anyone, just upgraded this morning.
Comment #7
alskor commentedI confirm the same problem after upgrading to the last Views module. Any reliable solution?
Comment #8
kalmarr commentedHello!
same error. I updeted the view and after get this error.
What is the error message? How can it off?
Kalmi
Comment #9
matrlx commentedWell.. after a while trying to find a solution, I found that this error was occurring because of the Views Grouping Row Limit module.
Here is the fix for that:
http://drupal.org/node/1375266
Comment #10
zeip commentedAlso having this problem, it's blocking me from updating to a secure version of views – hope we'll get some sort of solution soon.
Edit: For me this doesn't seem to be caused by Views Plugins – I don't have the module installed. Sorry for the mistake.
Comment #11
joshmiller@ZeiP -- I also had this error and did not have this module installed. Here's how to reproduce it:
All I had to do was click edit on the format settings and click "save for this page" -- this removed the "grouping" feature that was not properly removed for the other display that did not have the field necessary for grouping.
EDIT: Apparently the fix I described here is the same as in comment #1, but they concisely explained it :)
Josh
Comment #12
biografica commentedComment #1 worked for me in this instance.
It seems that as of the date of this comment post, the views_plugin_style.inc file already has the patch from this thread applied.
Comment #13
ddunn commentedComment #1 worked for me also, thanks.