I have this error coming up:
warning: Invalid argument supplied for foreach() in /public_html/modules/faq/faq.module on line 1074.
Anyone know how to get by? This is using the newest version with drupal 5.7, mysql 4x, and php4x.
Should I downgrade?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | faq_254516.patch | 3.89 KB | stella |
Comments
Comment #1
stella commentedDo you have any faq nodes configured and published? If using categories, have you assigned any nodes to that category?
What are your faq settings? In particular, I need to know your which question and category layouts you're using. Do you have a site where I can see this happening?
Cheers,
Stella
Comment #2
fang27 commentedThis error came up after clicking on the navlink for FAQs without any setup or settings changes as of yet. So, whatever the default setup is would be it. :)
Comment #3
stella commentedConfigure some faq nodes and the error should stop appearing then, so it's not a critical issue and doesn't prevent you from using the module, but it is something I will look at fixing.
thanks,
Stella
Comment #4
stella commentedFixed, try the attached patch or the latest dev release (available in next 12 hours).
Cheers,
Stella
Comment #5
hutch commentedLooks like all the theme_faq_* functions could do with if(count($nodes)) (or somesuch) test to prevent the error but as you say, not critical.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #7
stella commentedReleased in faq 5.x-2.11.
Cheers,
Stella