Drupal 5.x using Organic Groups
Now have set up a Test Group and got Errors in the : View tab
* The menu item Test Group 1 has been added.
* Your group has been created.
-----------------------------------------------
!Domain name replace for security below!
* warning: Invalid argument supplied for foreach() in /home/domain/public_html/dir/modules/views/views_query.inc on line 81.
* warning: Invalid argument supplied for foreach() in /home/domain/public_html/dir/modules/views/views_query.inc on line 16.
* warning: Invalid argument supplied for foreach() in /home/domain/public_html/dir/modules/views/views_query.inc on line 189.
* warning: Invalid argument supplied for foreach() in /home/domain/public_html/dir/modules/views/views_rss.module on line 55.
------------------------------------------------
What's the dealeo? Thanks.
Comments
Similar errors and problem
* warning: Invalid argument supplied for foreach() in public_html/drupal5/modules/views/views_query.inc on line 81.
* warning: Invalid argument supplied for foreach() in public_html/drupal5/modules/views/views_query.inc on line 16.
* warning: Invalid argument supplied for foreach() in /public_html/drupal5/modules/views/views_query.inc on line 189.
* warning: Invalid argument supplied for foreach() in public_html/drupal5/modules/views/modules/views_node.inc on line 777.
* warning: Invalid argument supplied for foreach() in public_html/drupal5/modules/views/views_rss.module on line 55.
Any suggestions?
Further searching sheds more light but the solution to the problem is out of my limited skills
http://drupal.org/node/47974
http://drupal.org/node/129915
http://drupal.org/node/127871
Most detailed post with reproduced error but no fix http://drupal.org/node/129599
love and light
In my case, I was using a
In my case, I was using a view with a node reference. I deleted the reference and orphaned the data in the node. Thus when the view iterated over it, it produces that error. Check for orphaned node data.
check for orphaned node data?
Okay. How do I check and where do I look?
Same Problem, Same Solution
I was experiencing exactly the same problem and came up with exactly the same solution! (thank you momendo, that was the tip I needed). To be more explicit, here is what I WAS doing and what I did to fix it.
I am setting up a new site and therefore (as one always does) I was playing around with all the different ways of doing things (I wanted to attach a view to a node - specifiically a company node with an attached view of all news items related to them (the link was by node reference).
Along the way I tried out the CCK plugin 'View Field' which will display views inside nodes (unfortunately, while it worked perfectly well, I needed different, simpler functionality). So I ended up having a company node with a 'view field' defined in it - I hadn't removed it from the content_type yet - when I moved on to a different PHP based solution (http://drupal.org/node/134320) that is perfect for what I need. Problem was, I kept getting the same errors over and over, pulled my hair out, then I got to your post did some digging around and VOILA! removed the 'view field' from my content_type and the errors went away.
OK, so that was a long story - down to the meat of it, I am no developer, but as momendo points out, it would appear that contemplate doesn't handle 'orphaned data' very well. If you are getting this error, I would start looking at fields you once had and are no longer using as a starting point.
Whew, I am rather long-winded today.....
http://www.harostreetmedia.com
I am having a similar
I am having a similar problem when I tried to upgrade to og-5.x-7.2. It's working fine with og-5.x-6.1. How do or where do I look for orphaned nodes?
How?
How do I check for orphaned node data???