warning: Invalid argument supplied for foreach() in node/node.module on line 1662.
serkan_isin - January 6, 2009 - 14:58
| Project: | Drigg |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Getting this error, any suggestions?

#1
Hi,
When are you getting this error _exactly_?
Merc.
#2
Hi,
I'm also getting this error, i use version 6.x. though.
Just started testing and not having any issues yet for the rest, but this one happened after i created some extra categories. Then i browse to those categories and i got this error. Only happends when the category is empty.
I used the drigg 6 express setup.
btw, not sure if this is the right place for it. But great work on these modules, it's been fun looking at all the possibilities and potential.
Maarten
#3
Hi,
Guys, I am going to close this bug as won't fix... please reopen with precise instructions on how to reproduce the problem, and I will fix it!
Thanks for the compliments :-D
Bye!,
Merc.
#4
Well, i'll explain the way that i got it.
did a clean install of drupal and drigg according to: http://blog.itechtalk.com/2008/drigg-6-express-setup/
then i added some categories. Browsed to those categories when they were still empty, so no scoops added. And i get this error.
Ones there are scoops added in those categories, the error is gone.
I'm using all the updated modules, but still am using the core 6.6
Hope this helps in any way.
maarten
#5
I am getting the same error with the same conditions with Drupal v6.9.
#6
I'm still getting this error, using all the latest modules.
It's very easy to reproduce the problem. Just create a new category and browse to it without having any nodes in it.
Then browse to another page and the error will be there.
Does anybody have a clue what it might be? Because i'm in the dark here.
#7
Just noticed that to get the error, you need to turn off all the blocks (best published scoops, best upcoming scoops) so the site doesn't have any nodes.
I guess then the query is really empty.
#8
Made a patch, seems to fix the issue, but somebody needs to review it and check if the rssfeeds are still working.
#9
I've just managed to reinstall WAMP on my laptop, which will save me a lot of time in trying to rebuild my site in 6x.
And I've stumbled upon this bug for the first time. The strange thing is that this error is showing only in my WAMP site, but not im my dev site which is in live/hosted environment.
Did anyone have this problem in a live/hosted environment?