Same issue as http://drupal.org/node/1048584 but for 7.x-3.x-dev.

I am seeing the same error when adding a location to a user.
Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in /var/www/nodakpaleo/sites/all/modules/location/supported/location.us.inc on line 61 and defined in db_query() (line 2213 of /var/www/nodakpaleo/includes/database/database.inc).

Using Feb 2 build and these fields:
Location name
Street
Additional
City
State/Province
Postal code
Country
Phone number

Comments

rooby’s picture

Status: Active » Fixed

Thanks for the report.
This is now fixed.

Although it brings to my attention that I have missed some db api changes in the supported country include files so I will go through later and make sure they are all done.

http://drupal.org/cvs?commit=494706

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Jerome F’s picture

Status: Closed (fixed) » Active

Using Location 7.x-3.x-dev (2011-Apr-06), I still receive this error on admin/content if I delete a content,
or on node/[nid]/delete

Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in (...)/sites/all/modules/translation_overview/translation_overview.module on line 135 and defined in db_query() (line 2212 of (...)/includes/database/database.inc).

I also tried the last git to see if anything has changed, but the issue is still there.

Jerome F’s picture

Status: Active » Closed (fixed)

Woops, that's not location module issue, but translation overview's.

Nefri’s picture

Hey, I just got the same error message and still can't fix it...

Jerome, what do you mean with "translation overview's"? thanks