warning: mysqli_real_escape_string() expects parameter 2 to be string

strellman - July 4, 2009 - 11:11
Project:Views
Version:6.x-2.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:Views exposed filter
Description

Hit this error when adding an exposed filter to a view that looks at the language of the node.
warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home1/explore8/public_html/includes/database.mysqli.inc on line 323.

I also noticed that the apostrophe in user's shows up as #039.
Dev was as of 5-21

View export attached

AttachmentSize
view-membersearch.txt8.17 KB

#1

Jose Reyero - July 4, 2009 - 15:13
Project:Internationalization» Views
Version:6.x-1.x-dev» 6.x-3.x-dev

Language is now a Drupal core field, so I think this is a views issue, if any.

#2

strellman - July 6, 2009 - 13:15
Version:6.x-3.x-dev» 6.x-2.6

Not sure where to find that views 3.x dev. I have views 2.6 and just loaded drupal 6.13 and i18n-6.x-1.1 with the same results.

#3

geerlingguy - August 15, 2009 - 16:42

Having the same problem... on homepage of www.opensourcecatholic.com

 
 

Drupal is a registered trademark of Dries Buytaert.