Closed (fixed)
Project:
Quiz
Version:
6.x-3.x-dev
Component:
Code - Quiz module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2008 at 15:44 UTC
Updated:
10 Sep 2009 at 07:58 UTC
I noticed after installing quiz 3.x yesterday I was seeing errors during cron. Disabling the quiz module gets rid of the error.
I saw three instances of this error every time cron ran:
warning: Invalid argument supplied for foreach() in /var/www/sites/all/modules/cck/content.module on line 422.
There's always the possibility that this error is caused by something else, because I am testing multiple things, but if there's a way to help narrow down what might be causing this error, let me know and I'll happily test.
Comments
Comment #1
mbutcher commentedDoes turning off CCK and enabling quiz also get rid of the error? Wonder if we have a minor interaction issue.
Do you have long answer and multichoice both enabled? Does turning off long answer get rid of the problem?
Matt
Comment #2
domesticat commentedHrm. Odd. I cannot get the error to replicate, which tells me that it may have something to do with the other Should Have Been Unrelated[tm] fix I applied this morning. While I'm glad the hourly errors are not recurring in my log, I'm perplexed.
I'll close this bug report so it doesn't clutter up your issue queue. I'll keep testing the module, and if I can replicate it, I'll reopen the ticket.
Comment #3
fhelmschrott commentedI guess this is not related to quiz. I encouter the same error without having the quiz module installed.
Comment #4
achimbode commentedWe don't use the quiz plugin and got this error during updates yesterday, too. Did Drupal force you to update other modules? We could not find the reason yet, either...
Comment #5
Setzler commentedRun update.php if you are using CCK or Views 2. I had the same problem, and it was simply because I forgot to run that script -- had done it for 20 other sites, but not this one in particular -- lucky me!
Comment #6
domesticat commentedThis thread was for a problem I thought was related to the Quiz module. As I posted above, it was not related. Reopening it just leaves an issue in the Quiz creator's queue. If your problem isn't related to this module -- see "We don't use the quiz plugin..." in #4 -- please open another issue in the forums.
Closing issue.
Comment #7
r_honey commentedCheck this comment:
http://drupal.org/node/259632#comment-2025530
I installed quiz 3.3 on a clean Druapl 6.13 install. And I get an error saying:
Invalid argument supplied for foreach() in taxonomy.module on line 1214.
for each multi-choice question I have created.