Active
Project:
Simple Contest
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2011 at 23:26 UTC
Updated:
21 Feb 2014 at 15:56 UTC
Jump to comment: Most recent
The strange thing about this error is that I don't have levels turned on. I did at one point but currently they are off, probably need to do a clean install but not sure how to go about that, I disabled the module and deleted the db tables that start with simple_contest and re enabled the modules but this still appears, this is with the Oct. 9, 2011 build.
Recoverable fatal error: Argument 2 passed to db_query() must be an array, integer given, called in /var/www/OAO/sites/all/modules/simple_contest/modules/simple_contest_levels/simple_contest_levels.cron.inc on line 20 and defined in db_query() (line 2311 of /var/www/OAO/includes/database/database.inc).
Comments
Comment #1
dgastudio commentedsame here
Comment #2
socialnicheguru commentedthis really threw me for a loop. this
|Recoverable fatal error: Argument 2 passed to db_query() must be an array, integer given, called in simple_contest/modules/simple_contest_levels/simple_contest_levels.cron.inc on line 20 and defined in db_query() (line 2342 of openatrium-7.x-2.x-dev-2/includes/database/database.inc).
this error makes the module unuseable.
Comment #3
vasheck commentedI am experiencing the same issue.
two warnings...
Warning: Cannot modify header information - headers already sent by (output started at mywebsite\includes\common.inc:2700) in mywebsiteincludes\bootstrap.inc on line 1216
Warning: Cannot modify header information - headers already sent by (output started at mywebsite\includes\common.inc:2700) in mywebsite\includes\bootstrap.inc on line 1220
and an error...
Error
The website encountered an unexpected error. Please try again later.
Recoverable fatal error: Argument 2 passed to db_query() must be of the type array, integer given, called in mywebsite\sites\all\modules\simple_contest\modules\simple_contest_levels\simple_contest_levels.cron.inc on line 20 and defined in db_query() (line 2342 of mywebsite\includes\database\database.inc).
Comment #4
vinoth.3v commentedThe simple_contest_levels Sub module is NOT completed, Please turn off the simple_contest_levels module.
Comment #5
socialnicheguru commentedupdated title