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

dgastudio’s picture

same here

socialnicheguru’s picture

this 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.

vasheck’s picture

I 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).

vinoth.3v’s picture

The simple_contest_levels Sub module is NOT completed, Please turn off the simple_contest_levels module.

socialnicheguru’s picture

Title: Recoverable fatal error » Recoverable fatal error- Workaround do not enable simple_contest_levels
Issue summary: View changes

updated title