Closed (fixed)
Project:
Location
Version:
7.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2011 at 14:13 UTC
Updated:
22 Jan 2012 at 06:00 UTC
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
Comment #1
rooby commentedThanks 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
Comment #3
Jerome F commentedUsing 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.
Comment #4
Jerome F commentedWoops, that's not location module issue, but translation overview's.
Comment #5
Nefri commentedHey, I just got the same error message and still can't fix it...
Jerome, what do you mean with "translation overview's"? thanks