Warning by language and user warning in webform_report.module

hovering - October 29, 2008 - 16:24
Project:webform report
Version:6.x-1.8
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, sorry for my bad English.

1. I can only publish content WebForm report with the English language by default, the following error appears to do so in Spanish as the default language:

* Warning: preg_match () expects parameter 2 to be string, array given in / home / httpd / vhosts / xxxx.es / httpdocs / xxxxxxxxxx / includes / bootstrap.inc on line 737.
* Warning: preg_match () expects parameter 2 to be string, array given in / home / httpd / vhosts / xxxx.es / httpdocs / xxxxxxxxxx / includes / bootstrap.inc on line 737.

2. Once created the content (in English), saving Report Criteria get the following error:

user warning: Table 'xxxxxx_basedrupal.drupal6_webform_reportu' does not exist query: UPDATE drupal6_webform_reportu SET wnid = 26, kcid = 21, sort = 4, components = 'a: 4: (i: 21; s: 2: \ \ \ " 21 \ \ \ "i: 23; s: 2: \ \ \" 23 \ \ \ "i: 24; s: 2: \ \ \" 24 \ \ \ "i: 25; s: 2: \ \ \ "25 \ \ \ ";}', filter_type = 0, filter_value ='', results_per_page WHERE NID = 20 ='62 'in / home / httpd / vhosts / xxxx.es / httpdocs / xxxxxxxxx / modules / webform_report / webform_report.module on line 233.

Changing the code of the line 230: " db_query("UPDATE {webform_report}u " by " db_query("UPDATE {webform_report} " working properly

Thanks,

Chema

#1

chb - November 2, 2008 - 11:38

subscribed and updated
got the same error using german as language

#2

ali_b - November 3, 2008 - 13:10

same here, in slovak lang

#3

gertieiv - November 5, 2008 - 10:41

in dutch I have the second error

user warning: Table 'sn0900.webform_reportu' doesn't exist query: UPDATE webform_reportu SET wnid = 185, kcid = 9, sort = 4, components = 'a:9:{i:2;s:1:\\\"2\\\";i:1;s:1:\\\"1\\\";i:3;s:1:\\\"3\\\";i:4;s:1:\\\"4\\\";i:5;s:1:\\\"5\\\";i:6;s:1:\\\"6\\\";i:7;s:1:\\\"7\\\";i:8;s:1:\\\"8\\\";i:9;s:1:\\\"9\\\";}', filter_type = 5, filter_value = 'wel aanwezig', results_per_page = 20 WHERE nid = '186' in /spin01/youth/s...e/modules/webform_report/webform_report.module on line 233.

geert

#4

czeky - November 17, 2008 - 22:45

same here, in czech version
warning: preg_match() expects parameter 2 to be string, array given in ........../includes/bootstrap.inc on line 732.

#5

Vako - March 7, 2009 - 04:31

Check a possible solution on: http://drupal.org/node/357789
and a patch to remove "u" on: http://drupal.org/node/331574

 
 

Drupal is a registered trademark of Dries Buytaert.