[wp-testers] Importing from 2.9 version

Andrew Nacin wp at andrewnacin.com
Sun Apr 4 04:58:24 UTC 2010


Could you check to see if you are running a database drop-in? If the drop-in
is extending the wpdb class but using it's _real_escape() method improperly,
that could cause this.

Two ways to check:
1. Check if you have a file at wp-content/db.php
2. Or, new in 3.0, go to Plugins > Installed. If you have a "Drop-ins"
filter at the top of the page, check that to see if you're running a db.php
file. (If no "Drop-ins" submenu, then no db.php file.)

This can also be caused by a plugin using one of the database methods
improperly.

On Sun, Apr 4, 2010 at 3:30 PM, wp at peterwongpp.con <wp at peterwongpp.com>wrote:
>
> I just installed 3.0B1 and inported the posts and categories etc. However I
> found some warning message like this.
>
> Warning: mysql_real_escape_string() expects parameter 1 to be string, array
> given in \wp-includes\wp-db.php on line 772
>


More information about the wp-testers mailing list