warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in...includes/database.mysqli.inc on line 323.

Have a CCK image content type with an amazon field. Getting the error on submit when I add the ASIN, but only because I have Token module installed and the default display of the field (in cck display settings) is set to anything other than 'Hidden'.

Not really a major bug error or fix but I've listed it here to help anyone else who's getting the error.
So, to get rid of it, go to the 'display' area of your content type, and under the 'Token' settings, set to Hidden.

Comments

rfay’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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