Notice: Array to string conversion in InsertQuery_sqlsrv->execute() (line 99 of C:\inetpub\wwwroot\includes\database\sqlsrv\query.inc).

yes, it's a windows server 2008 r2... lucky me.
this notice first showed up after enabling og ui module (4 notices) and also shows up after creating new vocabularies, thereafter.

Comments

amitaibu’s picture

Status: Active » Postponed (maintainer needs more info)

Can you reproduce on a clean installation?

jaypark’s picture

reproduced on "clean" Windows 2008 R2, fully patched, installation.

Database system Microsoft SQL Server
Database system version 10.50.1600 // 2008 R2
PHP 5.3.8 (more information)
PHP extensions Enabled
PHP memory limit 1024M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Web server Microsoft-IIS/7.5
jQuery Update jQuery 1.5.2 and jQuery UI 1.8.11

Chaos Chaos tools (ctools) Module Enabled 7.x-1.0-rc
Core Block (block) Module Enabled 7.12
Core Color (color) Module Enabled 7.12
Core Comment (comment) Module Enabled 7.12
Core Contextual links (contextual) Module Enabled 7.12
Core Dashboard (dashboard) Module Enabled 7.12
Core Database logging (dblog) Module Enabled 7.12
Core Field (field) Module Enabled 7.12
Core Field SQL storage Module Enabled 7.12
Core Field UI (field_ui) Module Enabled 7.12
Core File (file) Module Enabled 7.12
Core Filter (filter) Module Enabled 7.12
Core Help (help) Module Enabled 7.12
Core Image (image) Module Enabled 7.12
Core List (list) Module Enabled 7.12
Core Menu (menu) Module Enabled 7.12
Core Node (node) Module Enabled 7.12
Core Number (number) Module Enabled 7.12
Core Options (options) Module Enabled 7.12
Core Overlay (overlay) Module Enabled 7.12
Core Path (path) Module Enabled 7.12
Core RDF (rdf) Module Enabled 7.12
Core Search (search) Module Enabled 7.12
Core Shortcut (shortcut) Module Enabled 7.12
Core System (system) Module Enabled 7.12
Core Taxonomy (taxonomy) Module Enabled 7.12
Core Text (text) Module Enabled 7.12
Core Toolbar (toolbar) Module Enabled 7.12
Core Update manager (update) Module Enabled 7.12
Core User (user) Module Enabled 7.12
Fields Entity Reference Module Enabled 7.x-1.0-be
Organic Organic groups (og) Module Enabled 7.x-2.0-al
Organic Organic groups UI (og_ui) Module Enabled 7.x-2.0-al
Other Entity API (entity) Module Enabled 7.x-1.0-rc
Views Views (views) Module Enabled 7.x-3.3
Views Views Bulk Operations Module Enabled 7.x-3.0-rc
Core Bartik (bartik) Theme Enabled 7.12
Core Seven (seven) Theme Enabled 7.12

mainsequence’s picture

I'm also getting a huge list of "Array to string conversion in InsertQuery_sqlsrv->execute()" errors from line 99 of query.inc when I clear the caches. Clean installation on Windows 2003 / IIS 6, Drupal 7.

kmajzlik’s picture

Here is functional patch for sqlsrv same as pgsql:

# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- <html>og_ui.module (<b>23.5.2012 22:40:22</b>)</html>
+++ <html><b>Current File</b></html>
@@ -165,7 +165,7 @@
         'page arguments' => array('og_ui_admin_global_permissions', $entity_type, '0', $bundle_name),
         'title callback' => 'og_ui_menu_bundle_roles_title_callback',
         'title arguments' => array('OG @type - @bundle permissions', $entity_type, $bundle_name),
-        'access callback' => array('og_ui_access_group_permissions'),
+        'access callback' => 'og_ui_access_group_permissions',
         'access arguments' => array($entity_type, $bundle_name),
         'description' => 'Configure Organic groups group type permissions.',
         'file' => 'og_ui.admin.inc',
@@ -178,7 +178,7 @@
     'page arguments' => array('og_ui_admin_permissions', '', '0', '', 4),
     'title callback' => 'og_ui_menu_bundle_roles_title_callback',
     'title arguments' => array('OG @type - @bundle - @role permissions', '', '', 4),
-    'access callback' => array('og_ui_access_bundle_role'),
+    'access callback' => 'og_ui_access_bundle_role',
     'access arguments' => array(4),
     'description' => 'Configure Organic groups group type permissions.',
     'file' => 'og_ui.admin.inc',
@@ -203,7 +203,7 @@
         'page arguments' => array('og_ui_admin_new_role', $entity_type, '0', $bundle_name),
         'title callback' => 'og_ui_menu_bundle_roles_title_callback',
         'title arguments' => array('OG @type - @bundle roles', $entity_type, $bundle_name),
-        'access callback' => array('og_ui_access_bundle'),
+        'access callback' => 'og_ui_access_bundle',
         'access arguments' => array($entity_type, $bundle_name),
         'description' => 'Configure Organic groups group type roles.',
         'file' => 'og_ui.admin.inc',
@@ -216,7 +216,7 @@
     'page arguments' => array('og_ui_admin_roles', '', '0', '', 4),
     'title callback' => 'og_ui_menu_bundle_roles_title_callback',
     'title arguments' => array('OG @type - @bundle - @role', '', '', 4),
-    'access callback' => array('og_ui_access_bundle_role'),
+    'access callback' => 'og_ui_access_bundle_role',
     'access arguments' => array(4),
     'description' => 'Configure Organic groups group type roles.',
     'file' => 'og_ui.admin.inc',

Solution found at: http://drupal.org/node/1294986#comment-5122972

geigerg’s picture

Status: Postponed (maintainer needs more info) » Needs review
amitaibu’s picture

Status: Needs review » Active

No patch.

geigerg’s picture

Assigned: Unassigned » geigerg

I will test it.

geigerg’s picture

Status: Active » Fixed

The changes are already committed -> fixed.

Status: Fixed » Closed (fixed)

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