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 |
Jump to:
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
| Attachment | Size |
|---|---|
| view-membersearch.txt | 8.17 KB |

#1
Language is now a Drupal core field, so I think this is a views issue, if any.
#2
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
Having the same problem... on homepage of www.opensourcecatholic.com