Support » Plugin: Multisite Global Search » It works, but I get an error

  • On the result page I get this error:

    Warning: Missing argument 2 for wpdb::prepare(), called in /home/mystie/public_html/wp-content/plugins/multisite-global-search/inc/shortcodes.php on line 223 and defined in /home/mysite/public_html/wp-includes/wp-db.php on line 990

    The plugin is great, it would have been so nive if it was possible to build the search form into my tempalte, but it doesn’t work. And the error output is big and ugly and scart…

    http://wordpress.org/extend/plugins/multisite-global-search/

Viewing 1 replies (of 1 total)
  • Looks like this warning message is caused by a few other plugins that used calls to wpdb::prepare(), which in WP Version 3.5 was not implemented.

    Perhaps the plugin developer would care to add a check for wp version here, and send the constructed query strings directly to $wpdb->query if the WP version is 3.5?

Viewing 1 replies (of 1 total)
  • The topic ‘It works, but I get an error’ is closed to new replies.