stephen.pfaff
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Missing Argument 2 for wpdb::prepare()Check this, http://wordpress.org/support/topic/error-with-wp-35-wpdbprepare?replies=2
The function now requires 2 parameters, as of WP 3.5
Forum: Installing WordPress
In reply to: Missing Argument 2 for wpdb::prepare()Find the line in your error, add arguments parameter after query. This should fix it up on any script. Or you could always disable effected plugin until the author corrects.
Forum: Installing WordPress
In reply to: Missing Argument 2 for wpdb::prepare()My error was related to a ‘nextgen-gallery’ plugin.
“Warning: Missing argument 2 for wpdb::prepare(), called in ../nextgen-gallery/lib/tags.php on line 315 and defined in ../wp-includes/wp-db.php on line 990”
By the looks of it, wpdb::prepare() function, inside wp-db.php, now requires an array of arguments to be passed to it.
example, $wpdb->prepare($query, $args)My gallery plugin used this function to submit a request query to the database but wasn’t including any $args.
Forum: Installing WordPress
In reply to: Missing Argument 2 for wpdb::prepare()I am now having a similar error on one of my pages. I am not running any of the plugins you mentioned.