Getting a lot of these in watchdog:
mysqli_real_escape_string() expects parameter 2 to be string, array given in /database.mysqli.inc on line 323
Getting a lot of these in watchdog:
mysqli_real_escape_string() expects parameter 2 to be string, array given in /database.mysqli.inc on line 323
Comments
Comment #1
mikeytown2 commentedwhat version of php and drupal are you using?
Comment #2
mikeytown2 commentedalso have you checked other modules for the same error? Turn off boost to make sure it is causing the error.
#268891: mysqli_real_escape_string() expects parameter 2 to be string, array given in /includes/database.mysqli.inc on line 323
#642946: warning: mysqli_real_escape_string() expects parameter 2 to be string
#510020: warning: mysqli_real_escape_string() expects parameter 2 to be string
ect... http://www.google.com/search?q=site:drupal.org+%22mysqli_real_escape_str...
If Boost is causing the error how can the bug be reproduced?
Comment #3
Starminder commentedDrupal 6.14
MySQL database 5.0.87
PHP 5.2.8
You are absolutely right - with Boost disabled I received the error again, so it is being caused by something else.
Comment #4
Starminder commentedComment #5
mikeytown2 commented#651798: mysql_real_escape_string() expects parameter 1 to be string because page_id is an array
Comment #6
basanta86 commentedMy debugging efforts with the same error identified Freelinking 3.0-alpha3 as the villain. Maybe that's of some use to you.
Comment #7
giovanninews commentedAlso I have this error that is verified in two sites of mine after having made the updating of the same forms; the forms in matter are: nodewords -6.x-1.5, views -6.x-2.8 and page_title -6.x-2.3. I am sure that one of the three forms are the person responsible of the error, but I have not understood yet which of the three.
Comment #8
Starminder commentedI'm still getting a ton, along with a new one that I just posted (attributed to boost, for now). I do also use nodewords (dev), views (dev) and page title. Would love to get to the bottom of this one so if I can be of help just holler.
Comment #9
mikeytown2 commentedTry this
http://drupal.org/project/trace
Good Luck
Comment #10
zblace commentedsubscribe
Comment #11
giovanninews commentedI have not had the error anymore after having effected the updating of Nodewords from the version 6.x-1.5 to the version 6.x-1.8
http://giovanninews.com/